【发布时间】:2015-04-12 15:29:45
【问题描述】:
我知道这是ANSI color sequence,但这是什么意思?
BLUE = "\x1b[38;05;4m"
\x1b 是转义(ASCII 27)
38 是什么?
05 是什么?
什么是4m?
列表上好像没有这种东西?
【问题讨论】:
标签: go ansi-colors
我知道这是ANSI color sequence,但这是什么意思?
BLUE = "\x1b[38;05;4m"
\x1b 是转义(ASCII 27)
38 是什么?
05 是什么?
什么是4m?
列表上好像没有这种东西?
【问题讨论】:
标签: go ansi-colors
啊,我明白了,wikipedia 有更完整的参考
38 是Reserved for extended set foreground color
05 是next is the color index
4 是color blue
【讨论】: