package
0.0.0-20180315062822-5563bf42e167
Repository: https://github.com/mattn/jplot.git
Documentation: pkg.go.dev
# Functions
Clear clears the screen.
ClearScrollback clears iTerm2 scrollback.
CursorMove moves the cursor n times in the direction d.
CursorPosition moves cursor to row, col.
CursorRestorePosition restores the cursor position/state.
CursorSavePosition saves the cursor position/state.
HideCursor hides cursor.
Rows returns the number of rows for the controling terminal.
ShowCursor shows cursor.
Size gathers sizing information of the current session's controling terminal.
# Constants
Backward moves the cursor backward.
Down moves the cursor down.
Forward moves the cursor forward.
HorizontalAbsolute the cursor to the specified column.
NextLine cursor to beginning of the line next line.
PreviousLine cursor to beginning of the line previous line.
Up moves the cursor up.
# Structs
ImageWriter is a writer that write into iTerm2 terminal the PNG data written to it.
TermSize contains sizing information of the terminal.
# Type aliases
Direction constants are to be used with CursorMove.