module Terminimal
Overview
A tiny CLI toolkit for building terminal apps for humans.
Extended Modules
Defined in:
terminimal.crterminimal/ansi.cr
Instance Method Summary
-
#clear_line(direction = ClearDirection::ToEnd)
Clears the current line in the direct specified.
-
#clear_screen(direction = ClearDirection::All)
Clears the screen and resets cursor position to 0,0.
-
#cursor
Returns
Terminimal::Cursor
for interaction with the TTY cursor. -
#exit_with_error(message, exit_code) : NoReturn
Prints to STDERR and exits
-
#reset_line
Clears the current line a respositions the cursor at column 0.
Instance Method Detail
Clears the current line in the direct specified.
Clears the screen and resets cursor position to 0,0.