struct
Obsctl::TUI::Action
- Obsctl::TUI::Action
- Struct
- Value
- Object
Defined in:
obsctl/tui/action.crConstructors
Instance Method Summary
- #character : Char | Nil
- #index : Int32 | Nil
- #kind : ActionKind
-
#panel : FocusPanel | Nil
Pointer actions name their own target instead of acting on whatever is focused, so a click cannot be applied to the wrong panel if focus moves between the report arriving and the action running.
-
#sequence : String | Nil
The key sequence a
PendingSequenceaction is waiting to complete.
Constructor Detail
def self.new(kind : Obsctl::TUI::ActionKind, character : Char | Nil = nil, panel : Obsctl::TUI::FocusPanel | Nil = nil, index : Int32 | Nil = nil, sequence : Nil | String = nil)
#
Instance Method Detail
def panel : FocusPanel | Nil
#
Pointer actions name their own target instead of acting on whatever is focused, so a click cannot be applied to the wrong panel if focus moves between the report arriving and the action running.