v/vlib/term/colors_win.v

17 lines
414 B
Go
Raw Normal View History

// 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)
}
pub fn format_rgb(r, g, b int, msg, open, close string) string {
enable_term_color_win()
return _format_rgb(r, g, b, msg, open, close)
}