Module HighLine::SystemExtensions
In: lib/highline/system_extensions.rb

Methods

Constants

CHARACTER_MODE = "Win32API"
CHARACTER_MODE = "termios"
CHARACTER_MODE = "stty"

Public Instance methods

Windows savvy getc().

WARNING: This method ignores input and reads one character from STDIN!

Unix savvy getc(). (First choice.)

WARNING: This method requires the "termios" library!

Unix savvy getc(). (Second choice.)

WARNING: This method requires the external "stty" program!

Switched the input mode to raw and disables echo.

WARNING: This method requires the external "stty" program!

Restores a previously saved input mode.

WARNING: This method requires the external "stty" program!

A Windows savvy method to fetch the console columns, and rows.

A Unix savvy method to fetch the console columns, and rows.

[Validate]