Opal::Input::TextInput
Interactive single-line text input field supporting Tab completion, ghost text preview, cursor navigation, and history.
Constructors
Instance methods
autocomplete
Sourceautocomplete=(autocomplete : Autocomplete | Nil)
Sourcecursor_pos
SourceHandles a key event. Returns true if Enter was pressed (submission), false otherwise.
history
Sourcemove_end
Sourcemove_start
Sourceprompt
SourceInteractively reads user input until Enter is pressed, drawing in-place updates and ghost text.
value
Source