class

Opal::Terminal::RawMode

Inherits Reference < Object

Manages terminal raw mode with guaranteed restoration guards.

Class methods

run

Executes the given block with the terminal in raw mode, restoring cooked mode afterwards.

Source