modulepackage
0.0.0-20230930131441-997304c961cb
Repository: https://github.com/zijiren233/go-colorable.git
Documentation: pkg.go.dev
# README
go-colorable
# Functions
EnableColorsStdout enable colors if possible.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewColorable returns new instance of Writer which handles escape sequence.
NewColorableStderr returns new instance of Writer which handles escape sequence for stderr.
NewColorableStdout returns new instance of Writer which handles escape sequence for stdout.
No description provided by the author
NewNonColorable returns new instance of Writer which removes escape sequence from Writer.
No description provided by the author
No description provided by the author
# Constants
光标上移 \ cursor up.
光标下移 \ cursor down.
光标右移 \ cursor right.
光标左移 \ cursor left.
光标下移到下一行的开头 \ cursor down to the beginning of the next line.
光标上移到上一行的开头 \ cursor up to the beginning of the previous line.
光标移动到当前行的指定列 \ cursor moves to the specified column of the current line.
光标移动到指定行和列 \ cursor moves to the specified row and column.
清屏或清除从光标到屏幕的一部分 \ clear the screen or clear part of the screen from the cursor.
清除从光标到行尾的一部分 \ clear part of the line from the cursor to the end of the line.
设置颜色和格式 \ set color and format.
保存光标位置 \ save cursor position.
向上滚动指定的行数 \ scroll up the specified number of lines.
向下滚动指定的行数 \ scroll down the specified number of lines.
恢复光标位置 \ restore cursor position.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author