class

Obsctl::TUI::App

Inherits Reference < Object

Constants

DEFAULT_REFRESH = 100.milliseconds
ESCAPE_DELAY = 25.milliseconds
RESIZE_POLL = 50.milliseconds
SPLASH_DURATION = 2.seconds
SPLASH_FRAME = 50.milliseconds

Constructors

from_config(config : Config::Config, socket_path : String = IPC::SocketPath.resolve, input : IO::FileDescriptor = STDIN, output : IO = STDOUT, config_path : String | Nil = nil) : self
Source
new(socket_path : String = IPC::SocketPath.resolve, input : IO::FileDescriptor = STDIN, output : IO = STDOUT, refresh : Time::Span = DEFAULT_REFRESH, model : Obsctl::TUI::Model = Model.new, config_path : String | Nil = nil)
Source

Instance methods

model
Source
process(message : AppMessage, dispatcher : Dispatcher) : Bool
Source
refresh
Source
render(terminal : CryTUI::Terminal)
Source