struct
TermBuf::ScreenSize
- TermBuf::ScreenSize
- Struct
- Value
- Object
Overview
How many cells the terminal is showing.
Defined in:
termbuf/caps/screen_size.crConstant Summary
-
DEFAULT =
new(80, 24) -
What to assume when nothing can be established. Every terminal is at least this big, and guessing larger paints off the edge of the screen.
Constructors
Instance Method Summary
-
#columns : Int32
Cells across.
-
#rows : Int32
Cells down.
-
#to_s(io : IO) : Nil
Same as
#inspect(io).