class
CryPrompt::Input
- CryPrompt::Input
- Reference
- Object
Overview
class for getting inputs from the user
Defined in:
input.crClass Method Summary
- .read_char
-
.tokenize(input : String) : Array(String)
A raw read may contain several printable characters (especially a paste) or one ANSI escape sequence.
Instance Method Summary
-
#read_char
Reads a single character in and returns it as a string.
Class Method Detail
def self.tokenize(input : String) : Array(String)
#
A raw read may contain several printable characters (especially a paste) or one ANSI escape sequence. Split it into editor events so a trailing Tab/Return is never inserted as ordinary text.