struct

Crubbletea::View

Inherits Struct < Value < Object

Constructors

new(content : String = "", alt_screen : Bool = false, cursor : Crubbletea::Cursor | Nil = nil, window_title : String = "", mouse_mode : MouseMode = :none, report_focus : Bool = false, progress_bar : ProgressBar | Nil = nil, foreground_color : String = "", background_color : String = "", keyboard_enhancements : KeyboardEnhancements | Nil = nil)
Source

Instance methods

alt_screen
Source
alt_screen=(alt_screen : Bool)
Source
background_color
Source
background_color=(background_color : String)
Source
content
Source
content=(content : String)
Source
cursor
Source
cursor=(cursor : Cursor | Nil)
Source
foreground_color
Source
foreground_color=(foreground_color : String)
Source
keyboard_enhancements
Source
keyboard_enhancements=(keyboard_enhancements : KeyboardEnhancements | Nil)
Source
mouse_mode
Source
mouse_mode=(mouse_mode : MouseMode)
Source
progress_bar
Source
progress_bar=(progress_bar : ProgressBar | Nil)
Source
report_focus
Source
report_focus=(report_focus : Bool)
Source
window_title
Source
window_title=(window_title : String)
Source