class

Shocking::UI::MainScreen

Inherits Reference < Object

Constructors

new(screen : Crysterm::Screen, config : Config::Settings)
Source

Instance methods

config
Source
config=(config : Config::Settings)
Source
history_panel
Source
history_panel=(history_panel : HistoryPanel | Nil)
Source
policy_panel
Source
policy_panel=(policy_panel : PolicyPanel | Nil)
Source
screen
Source
screen=(screen : Crysterm::Screen)
Source
setup
Source
status_panel
Source
status_panel=(status_panel : StatusPanel | Nil)
Source
update_battery(status : Battery::Status)
Source
update_policy(profile : String)
Source
update_usage(processes : Array(Usage::ProcessInfo))
Source
usage_panel
Source
usage_panel=(usage_panel : UsagePanel | Nil)
Source