class Term::Reader::Console

Defined in:

reader/console.cr

Constant Summary

CSI = "\e["
ESC = '\e'
TIMEOUT = 100.milliseconds

Constructors

Instance Method Summary

Constructor Detail

def self.new(input : IO::FileDescriptor) #

[View source]

Instance Method Detail

def escape_codes : Tuple(Array(UInt8), Array(UInt8)) #

[View source]
def get_char(raw : Bool, echo : Bool, nonblock : Bool) : Char | Nil #

[View source]
def keys : Hash(String, String) #

[View source]