Versions in this module Expand all Collapse all v1 v1.1.1 Apr 18, 2020 Changes in this version + func Clear() + func ClearScrollback() + func CursorMove(d Direction, n int) + func CursorPosition(row, col int) + func CursorRestorePosition() + func CursorSavePosition() + func HideCursor() + func Rows() (rows int, err error) + func ShowCursor() + type Direction string + const Backward + const Down + const Forward + const HorizontalAbsolute + const NextLine + const PreviousLine + const Up + type ImageWriter struct + Height int + Name string + Width int + func (w *ImageWriter) Close() error + func (w *ImageWriter) Write(p []byte) (n int, err error) + type TermSize struct + Col int + Height int + Row int + Width int + func Size() (size TermSize, err error)