class

Fancyline::Tty::Dumb

Inherits Fancyline::Tty / Reference / Object

Implementation for dumb terminals. Mostly empty implementations.

Instance methods

clear_line

Clears the current line, no matter on which column the cursor is

Source
clear_screen

Clears the screen and moves the cursor to the top left

Source
columns

Terminal columns at program start.

Source
cursor_restore

Saves the cursor position, yields, and restores it afterwards.

Source
cursor_to_start

Moves the cursor to the start of the current line

Source
dumb?

Is this a dumb terminal? A dumb terminal doesn't offer any capabilities and acts more like a stream of bytes being thrown on the screen. The case for example the program is used through popen(3) like functionality.

Source
move_cursor(x, y)

Moves the terminal cursor around relative to its position

Source
rows

Terminal rows at program start.

Source