class

StaticTextControl

Inherits Control < Reference < Object

Constructors

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

Instance methods

focusable=(focusable : Bool)
Source
focusable?

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

Source
next_line
Source
paint(term)
Source
previous_line
Source
text

should return the text to be painted to the screen

Source
text=(t : String)
Source
wrap(text, len)
Source