struct
Obsctl::TUI::Input::Action
- Obsctl::TUI::Input::Action
- Struct
- Value
- Object
Overview
Result of handling one input key.
Defined in:
obsctl/tui/input/controller.crConstructors
- .new(kind : ActionKind, command : String | Nil = nil)
-
.none : self
No UI update or command is needed.
-
.quit : self
The TUI should exit.
-
.render : self
The current model should be rendered again.
-
.submit(command : String) : self
The supplied command line should be executed.
Instance Method Summary
- #clone
- #command : String | Nil
- #copy_with(kind _kind = @kind, command _command = @command)
- #kind : ActionKind