Class
Luck::ANSIDriver
In:
lib/luck/ansi.rb
Parent:
Object
Methods
clear
color
cursor=
cursor_to_home
flush
linedrawing=
new
prepare_modes
put
resized?
restore_cursor
save_cursor
set_cursor
set_title
terminal_size
undo_modes
Constants
TIOCGWINSZ
=
0x5413
yay grep
TCGETS
=
0x5401
TCSETS
=
0x5402
ECHO
=
8
ICANON
=
2
Attributes
height
[R]
width
[R]
Public Class methods
new
()
Public Instance methods
clear
()
color
(codes)
cursor=
(show)
cursor_to_home
()
flush
()
linedrawing=
(toggle)
prepare_modes
()
had to convert these from C… fun
put
(row, col, text)
resized?
()
restore_cursor
()
save_cursor
()
set_cursor
(row, col;)
set_title
(title;)
terminal_size
()
thanks google for all of this
undo_modes
(
[Validate]