class TerminalRender::Input::Console

Defined in:

render/terminal/terminal-input.cr

Constant Summary

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

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_sban(io : IO)
to_sban(encoder : SBAN::Encoder)
to_sban : Bytes
to_sban

Class methods inherited from class Object

from_sban(string_or_io) from_sban

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(nonblock : Bool = false) #

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

[View source]