1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/term/can_show_color_win.v

11 lines
224 B
V
Raw Normal View History

module term
import os
// TODO: implement proper checking on windows too.
// For now, just return false by default
pub fn can_show_color_on_fd(fd int) bool {
if os.getenv('TERM') == 'dumb' { return false }
return false
}