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

Methods

Constants

JRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
CHARACTER_MODE = "Win32API"
CHARACTER_MODE = "termios"
CHARACTER_MODE = "jline"
CHARACTER_MODE = "ncurses"
CHARACTER_MODE = "stty"   WARNING: This requires the external "stty" program!

Public Class methods

Public Instance methods

Windows savvy getc().

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

We do not define a raw_no_echo_mode for Windows as _getch turns off echo

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

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

A Unix savvy method using stty to fetch the console columns, and rows. … stty does not work in JRuby

[Validate]