class

EditControl

Inherits Control < Reference < Object

Constructors

new(text, height = nil, width = nil, focusable : Bool = true, prompt : String = "")
Source

Instance methods

backspace
Source
focusable?

if this control can take keyboard input Only frames, screens, and non-interactive elements should return false.

Source
insert(t)
Source
letter(k)

processes space and any printable character.

Source
next_char
Source
prev_char
Source
text

should return the text to be painted to the screen

Source
text=(s : String)
Source
user_x
Source