2019-07-29 04:44:21 +02:00
|
|
|
// Copyright (c) 2019 Alexander Medvednikov. All rights reserved.
|
|
|
|
// Use of this source code is governed by an MIT license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
module term
|
|
|
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
pub fn format(msg, open, close string) string {
|
|
|
|
return _format(msg, open, close)
|
|
|
|
}
|
2019-07-31 19:22:38 +02:00
|
|
|
|
|
|
|
pub fn format_rgb(r, g, b int, msg, open, close string) string {
|
|
|
|
return _format_rgb(r, g, b, msg, open, close)
|
|
|
|
}
|