Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Color ¶
type Color string
Color is the color string in terminal.
const ( NormalBlack Color = "\033[38;5;0m \033[0m" NormalRed Color = "\033[38;5;1m \033[0m" NormalGreen Color = "\033[38;5;2m \033[0m" NormalYellow Color = "\033[38;5;3m \033[0m" NormalBlue Color = "\033[38;5;4m \033[0m" NormalMagenta Color = "\033[38;5;5m \033[0m" NormalCyan Color = "\033[38;5;6m \033[0m" NormalWhite Color = "\033[38;5;7m \033[0m" BrightBlack Color = "\033[48;5;0m \033[0m" BrightRed Color = "\033[48;5;1m \033[0m" BrightGreen Color = "\033[48;5;2m \033[0m" BrightYellow Color = "\033[48;5;3m \033[0m" BrightBlue Color = "\033[48;5;4m \033[0m" BrightMagenta Color = "\033[48;5;5m \033[0m" BrightCyan Color = "\033[48;5;6m \033[0m" BrightWhite Color = "\033[48;5;7m \033[0m" )
Click to show internal directories.
Click to hide internal directories.