table icon indicating copy to clipboard operation
table copied to clipboard

当输出带颜色字符时,表格错乱

Open qinya0 opened this issue 4 years ago • 1 comments

image

image

func Green(s string) string {
	return fmt.Sprintf("%c[%dm%s%c[0m", 0x1B, 32, s, 0x1B)
}

qinya0 avatar Jan 22 '21 09:01 qinya0

提个建议: 能不能可选的输出表格四周的线条 "+ - | "等字符

qinya0 avatar Jan 22 '21 09:01 qinya0