Open
Description
I find bash can use e]xxx ..... e[m to define text color directly. This way is more flexisible than using ui style.
add api:
func colortext(s txt,color tcell.color)string{
colorbeign:= getcolorbegin(color)
colorend:=getclororend(color)
return fmt.sprintf("%s %s %s ",colorbegin, txt,colorend)
}
Metadata
Assignees
Labels
No labels
Activity