class

TextUi::Ui

Inherits TextUi::Widget / Reference / Object

Constructors

new(color_mode = ColorMode::Just256Colors)
Source

Class methods

shutdown!
Source

Instance methods

absolute_height
Source
absolute_width
Source
absolute_x
Source
absolute_y
Source
focus(widget : Widget | Nil) : Nil
Source
focus_changed
Source
focused_widget
Source
inspect(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>
Source
key_typed
Source
main_loop
Source
main_loop(polling = 250, &)
Source
peek_event(timeout) : Bool
Source
process_events
Source
process_queued_events
Source
render
Source
resized
Source
shutdown!
Source

Nested types