class

Opal::Terminal::PosixDriver

Inherits Opal::Terminal::Driver < Reference < Object

POSIX (Linux/macOS) terminal driver using termios and ioctl.

Constructors

new(output : IO = STDOUT, input : IO = STDIN)
Source

Instance methods

flush
Source
poll_event(timeout_ms : Int32 = 0) : KeyEvent | MouseEvent | ResizeEvent | Nil

Non-blocking or timed check for input/resize events.

Source
raw_mode
Source
size
Source
write(str : String) : Nil
Source