module
Tput::Output::Cursor
Included Modules
- Crystallabs::Helpers::Alias_Methods
- Crystallabs::Helpers::Boolean
Direct including types
Defined in:
tput/output/cursor.crInstance Method Summary
-
#back(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cbt(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cha(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cha(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#char_pos_absolute(param = 0)
CSI Pm ` Character Position Absolute [column] (default = [row,1]) (HPA).
-
#cht(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cnl(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cpl(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cub(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cud(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cuf(param : Int = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cup(row : Int = 0, column : Int = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cup(point : Tput::Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_backward(param = 1)
CSI Ps D Cursor Backward Ps Times (default = 1) (CUB).
-
#cursor_backward_tab(param = 1)
CSI Ps Z Cursor Backward Tabulation Ps tab stops (default = 1) (CBT).
-
#cursor_char_absolute(point : Point)
Sets cursor x coordinate to absolute value
param. -
#cursor_char_absolute(param = 0)
Sets cursor x coordinate to absolute value
param. -
#cursor_color(color : String)
Sets cursor color.
-
#cursor_color(color : Color)
Sets cursor color.
-
#cursor_down(param = 1)
CSI Ps B Cursor Down Ps Times (default = 1) (CUD).
-
#cursor_forward(param : Int = 1)
Cursor forward.
-
#cursor_forward_tab(param = 1)
CSI Ps I Cursor Forward Tabulation Ps tab stops (default = 1) (CHT).
-
#cursor_line_absolute(point : Point)
Sets cursor y coordinate to absolute value
param. - #cursor_line_absolute(param = 0)
-
#cursor_move(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_move(x = 0, y = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_move_to(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_move_to(x = 0, y = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_next_line(param = 1)
CSI Ps E Cursor Next Line Ps Times (default = 1) (CNL).
-
#cursor_pos(row : Int = 0, column : Int = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_pos(point : Tput::Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_position(row : Int = 0, column : Int = 0)
Set cursor position.
-
#cursor_position(point : Tput::Point)
Set cursor position.
-
#cursor_preceding_line(param = 1)
CSI Ps F Cursor Preceding Line Ps Times (default = 1) (CNL).
-
#cursor_previous_line(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_right(param : Int = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#cursor_shape(shape, blink = false)
Sets the hardware cursor shape.
-
#cursor_up(param = 1)
CSI Ps A Cursor Up Ps Times (default = 1) (CUU).
-
#cuu(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#decscusr(style = CursorStyle::SteadyBlock)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#down(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#dynamic_cursor_color(param)
OSC Ps ; Pt ST OSC Ps ; Pt BEL Change dynamic colors
-
#forward(param : Int = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#h_position_relative(param = 1)
141 61 a * HPR - Horizontal Position Relative reuse CSI Ps C ? TODO switch to adjust_xy
- #hide_cursor
-
#hpa(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#hpr(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#hv_position(row = 0, col = 0)
CSI Ps ; Ps f Horizontal and Vertical Position [row;column] (default = [1,1]) (HVP).
-
#hvp(row = 0, col = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#left(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#line_absolute(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#line_absolute(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#line_pos_absolute(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#line_pos_absolute(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#lrestore_cursor(key = :local, hide = false)
Restore Cursor Locally
-
#lsave_cursor(key = :local)
Save Cursor Locally
-
#move(point : Point)
Moves cursor to desired point by using absolute coordinate instructions
-
#move(x = 0, y = 0)
Moves cursor to desired point by using absolute coordinate instructions
-
#omove(point : Point)
Moves cursor to desired point by using instructions relative to current position
-
#omove(x = 0, y = 0)
Moves cursor to desired point by using instructions relative to current position
-
#parm_right_cursor(param : Int = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#pos(row : Int = 0, column : Int = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#pos(point : Tput::Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. - #reset_cursor
-
#reset_cursor_color
OSC Ps ; Pt ST OSC Ps ; Pt BEL Reset colors
-
#restore_cursor(key : String | Nil = nil, hide : Bool = false)
Restore saved cursor position.
-
#restore_cursor_a
CSI u Restore cursor (ANSI.SYS).
- #restore_reported_cursor
-
#right(param : Int = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#rmove(dx, dy)
Move cursor by
dxcolumns anddyrows -
#rmove(point : Point)
Move cursor by
dxcolumns anddyrows -
#rsetx(dx)
Move cursor forward or back by
dxcolumns -
#rsety(dy)
Move cursor forward or back by
dyrows -
#save_cursor(key : String | Nil = nil)
Save cursor position.
-
#save_cursor_a
CSI s Save cursor (ANSI.SYS).
-
#sc(key : String | Nil = nil)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#set_cursor_style(style = CursorStyle::SteadyBlock)
CSI Ps SP q Set cursor style (DECSCUSR, VT520).
-
#set_x(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#set_x(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#set_y(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#set_y(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#setx(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#setx(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#sety(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#sety(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#setyx(row : Int = 0, column : Int = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#setyx(point : Tput::Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. - #show_cursor
-
#up(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#v_position_relative(param = 1)
145 65 e * VPR - Vertical Position Relative reuse CSI Ps B ? TODO adjust_xy
-
#vpa(point : Point)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#vpa(param = 0)
A bare
*only opens the keyword-only section — there is nothing to forward for it. -
#vpr(param = 1)
A bare
*only opens the keyword-only section — there is nothing to forward for it.
Instance Method Detail
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
CSI Pm ` Character Position Absolute [column] (default = [row,1]) (HPA).
TODO switch to adjust_xy
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
CSI Ps Z Cursor Backward Tabulation Ps tab stops (default = 1) (CBT).
Sets cursor x coordinate to absolute value param.
CSI Ps G
Cursor Character Absolute [column] (default = [row,1]) (CHA).
Sets cursor x coordinate to absolute value param.
CSI Ps G
Cursor Character Absolute [column] (default = [row,1]) (CHA).
Sets cursor color. XTerm, rxvt, and screen specific.
Accepted values are color names listed in /etc/X11/rgb.txt.
Sets cursor color. XTerm, rxvt, and screen specific.
Accepted values are color names listed in /etc/X11/rgb.txt.
Cursor forward. CSI Ps C Cursor Forward Ps Times (default = 1) (CUF).
CSI Ps I Cursor Forward Tabulation Ps tab stops (default = 1) (CHT).
Sets cursor y coordinate to absolute value param.
CSI Pm d
Line Position Absolute [row] (default = [1,column]) (VPA).
NOTE Can't find in terminfo, no idea why it has multiple params (Pm).
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
CSI Ps E Cursor Next Line Ps Times (default = 1) (CNL). same as CSI Ps B ?
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
Set cursor position. CSI Ps ; Ps H Cursor Position [row;column] (default = [1,1]) (CUP).
Set cursor position. CSI Ps ; Ps H Cursor Position [row;column] (default = [1,1]) (CUP).
CSI Ps F Cursor Preceding Line Ps Times (default = 1) (CNL). reuse CSI Ps A ?
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
Sets the hardware cursor shape.
Only emits when Features#cursor_style? confirms the terminal supports
hardware cursor styling. iTerm2 uses proprietary OSC 50; others use
standard DECSCUSR (CSI Ps SP q). Returns true if emitted, false if
unsupported (caller, e.g. Screen#apply_cursor, falls back to an
artificial cursor).
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
141 61 a * HPR - Horizontal Position Relative reuse CSI Ps C ?
TODO switch to adjust_xy
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
CSI Ps ; Ps f Horizontal and Vertical Position [row;column] (default = [1,1]) (HVP).
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
Moves cursor to desired point by using absolute coordinate instructions
Moves cursor to desired point by using absolute coordinate instructions
Moves cursor to desired point by using instructions relative to current position
NOTE fix cud and cuu calls
Moves cursor to desired point by using instructions relative to current position
NOTE fix cud and cuu calls
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
Restore saved cursor position.
ESC 8 Restore Cursor (DECRC).
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
CSI Ps SP q Set cursor style (DECSCUSR, VT520). Ps = 0 -> blinking block. Ps = 1 -> blinking block (default). Ps = 2 -> steady block. Ps = 3 -> blinking underline. Ps = 4 -> steady underline.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
145 65 e * VPR - Vertical Position Relative reuse CSI Ps B ?
TODO adjust_xy
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc:
A bare * only opens the keyword-only section — there is nothing to
forward for it. Everything after it must be passed by name.
:nodoc: