struct Obsctl::TUI::Action

Defined in:

obsctl/tui/action.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def character : Char | Nil #

[View source]
def index : Int32 | Nil #

[View source]
def kind : ActionKind #

[View source]
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.


[View source]
def sequence : String | Nil #

The key sequence a PendingSequence action is waiting to complete.


[View source]