class
Opal::Terminal::Info
- Opal::Terminal::Info
- Reference
- Object
Overview
Inspects and queries terminal emulator capabilities, dimensions, and environment.
Defined in:
opal/terminal/info.crConstructors
Instance Method Summary
- #color_profile : ColorProfile
- #colors_256? : Bool
- #colors_enabled? : Bool
- #columns : Int32
- #darwin? : Bool
- #height : Int32
- #linux? : Bool
- #posix? : Bool
-
#refresh!(driver : Driver | Nil = nil) : self
Reloads dynamic values such as terminal window dimensions
- #rows : Int32
- #size : Tuple(Int32, Int32)
- #supports_alt_screen? : Bool
- #supports_hyperlinks? : Bool
- #supports_mouse? : Bool
- #term_program : String | Nil
- #truecolor? : Bool
- #tty? : Bool
- #width : Int32
- #windows? : Bool
Constructor Detail
Instance Method Detail
Reloads dynamic values such as terminal window dimensions