struct Termbox::Event::ResizeEvent
- Termbox::Event::ResizeEvent
- Termbox::Event::BaseEvent
- Struct
- Value
- Object
Overview
Emitted when the terminal window is resized.
Defined in:
termbox2/event.crConstructors
Class Method Summary
-
.from(event)
Creates a
ResizeEvent
from a Termbox event struct.
Instance Method Summary
-
#h : Int32
Returns the new terminal height.
-
#w : Int32
Returns the new terminal width.