struct

Termbox::Event::ResizeEvent

Inherits Termbox::Event::BaseEvent / Struct / Value / Object

Emitted when the terminal window is resized.

Constructors

new(w : Int32, h : Int32)
Source

Class methods

from(event)

Creates a ResizeEvent from a Termbox event struct.

Source

Instance methods

h

Returns the new terminal height.

Source
w

Returns the new terminal width.

Source