module
Obsctl::TUI::Completion
Extended Modules
Defined in:
obsctl/tui/completion.crConstant Summary
-
ALL_COMMANDS =
(Domain::CommandRegistry.palette_names + ["/themes"]).sort! -
Every palette spelling the parser accepts, plus the dashboard-only settings view. Generated so completion cannot drift from the parser.
-
RECORD_ACTIONS =
Domain::CommandRegistry::RECORD_ACTIONS.keys -
Bare
/recstill toggles; these are the explicit actions.
Instance Method Summary
-
#compute(input : String, model : Model) : Array(String)
Commands are registered with the
/spelling, so a line opened with a different leader --:for a vim command line, or a configured prefix -- is matched as its/equivalent and handed back wearing the leader the user actually typed.
Instance Method Detail
Commands are registered with the / spelling, so a line opened with a
different leader -- : for a vim command line, or a configured prefix
-- is matched as its / equivalent and handed back wearing the leader
the user actually typed.