module Reply::Term::Cursor
Extended Modules
Defined in:
term_cursor.crConstant Summary
-
CSI =
"\e["
-
DEC_RST =
"l"
-
DEC_SET =
"h"
-
DEC_TCEM =
"?25"
-
ESC =
"\e"
Instance Method Summary
-
#backward(n : Int32 | Nil = nil)
Move the cursor backward by n
-
#clear_char(n : Int32 | Nil = nil)
Erase n characters from the current cursor position
-
#clear_line
Erase the entire current line and return to beginning of the line
-
#clear_line_after
Erase from the current position (inclusive) to the end of the line
-
#clear_line_before
Erase from the beginning of the line up to and including the current cursor position.
-
#clear_lines(n, direction = :up)
Clear a number of lines
-
#clear_rows(n, direction = :up)
Clear a number of rows
-
#clear_screen
Clear the screen with the background colour and moves the cursor to home
-
#clear_screen_down
Clear screen down from current position
-
#clear_screen_up
Clear screen up from current position
-
#column(n : Int32 | Nil = nil)
Cursor moves to nth position horizontally in the current line
-
#current
Query cursor current position
-
#cursor_backward(n)
Move the cursor backward by n
-
#cursor_down(n)
Move the cursor down by n
-
#cursor_forward(n)
Move the cursor forward by n
-
#cursor_up(n)
Move cursor up by n
-
#down(n : Int32 | Nil = nil)
Move the cursor down by n
-
#forward(n : Int32 | Nil = nil)
Move the cursor forward by n
-
#hide
Hide cursor
-
#invisible(stream = STDOUT, &)
Switch off cursor for the block
-
#move(x, y)
Move cursor relative to its current position
-
#move_to(row : Int32 | Nil = nil, column : Int32 | Nil = nil)
Set the cursor absolute position
-
#next_line
Move cursor down to beginning of next line
-
#prev_line
Move cursor up to beginning of previous line
-
#restore
Restore cursor position
-
#row(n : Int32 | Nil = nil)
Cursor moves to the nth position vertically in the current column
-
#save
Save current position
-
#scroll_down
Scroll display down one line
-
#scroll_up
Scroll display up one line
-
#show
Make cursor visible
-
#up(n : Int32 | Nil = nil)
Move cursor up by n
Instance Method Detail
Erase from the beginning of the line up to and including the current cursor position.
Set the cursor absolute position