yera.runtime.handlers.tree_selector.ansi
ANSI tree selector handler.
Symbols
ANSITreeSelectorHandler
Inherits:
BaseHandlerRender an interactive multi-select tree in an ANSI terminal.
Methods
push — Display the tree and submit the selected leaf values.
ANSITreeSelectorHandler.push
push(
event: OutputEvent,
) → NoneDisplay the tree and submit the selected leaf values.
Parameters
event
type: OutputEvent
An output event carrying TreeSelectorData.
Raises
TypeError
If the event data is not TreeSelectorData.