TextUi::Ui
Inherits TextUi::Widget / Reference / Object
Constructors
new(color_mode = ColorMode::Just256Colors)
SourceClass methods
shutdown!
SourceInstance methods
absolute_height
Sourceabsolute_width
Sourceabsolute_x
Sourceabsolute_y
Sourcefocus(widget : Widget | Nil) : Nil
Sourcefocus_changed
Sourcefocused_widget
Sourceinspect(io : IO)
Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
key_typed
Sourcemain_loop
Sourcemain_loop(polling = 250, &)
Sourcepeek_event(timeout) : Bool
Sourceprocess_events
Sourceprocess_queued_events
Sourcerender
Sourceresized
Sourceshutdown!
Source