unional
released this
15 Aug 04:03
·
30 commits
to main
since this release
Minor Changes
- 1fa1706: Expose
setOutput
Patch Changes
-
f1a2501: Clean up
onKeyDown
,onParse
, andcommands
behavior:- prompt will be echoed before anything when
echoPrompt
is true. onKeyDown
will be triggered after that.- If it call
e.stopPropagation()
,onParse
orcommands
will not be triggered. commands
look up will occur ifcommands
is provided (skip if not provided).onParse
will be trigger if no command matches the input.Unknown command: ...
will be emitted after that. IfonParse
is provided,Unknown command: ...
will not be emitted, even ifonParse
does not return anything.
- prompt will be echoed before anything when