@jsvision/ui / Commands
Variable: Commands
constCommands:object
Defined in: ui/src/status/commands.ts:12
The standard command names.
Type Declaration
cancel
readonlycancel:"cancel"='cancel'
Cancel a dialog; always closes, skipping the valid() check.
cascade
readonlycascade:"cascade"='cascade'
Cascade all windows from the top-left.
close
readonlyclose:"close"='close'
Close the active window.
copy
readonlycopy:"copy"='copy'
Copy the focused editable widget's selection to the clipboard (Ctrl+C, or classic Ctrl+Insert).
cut
readonlycut:"cut"='cut'
Cut the focused editable widget's selection to the clipboard (Ctrl+X, or classic Shift+Delete).
next
readonlynext:"next"='next'
Activate the next window in z-order.
no
readonlyno:"no"='no'
Negative dialog answer; gated by valid() like ok.
ok
readonlyok:"ok"='ok'
Accept a dialog; closes it after its valid() check passes.
paste
readonlypaste:"paste"='paste'
Paste the clipboard into the focused editable widget (Ctrl+V, or classic Shift+Insert).
prev
readonlyprev:"prev"='prev'
Activate the previous window in z-order.
quit
readonlyquit:"quit"='quit'
Quit the application (terminates run() with an exit code).
redo
readonlyredo:"redo"='redo'
Redo the focused editor's last undone step (command-only — no default key chord).
selectAll
readonlyselectAll:"selectAll"='selectAll'
Select all text in the focused editable widget (Ctrl+A).
tile
readonlytile:"tile"='tile'
Tile all windows into a grid.
undo
readonlyundo:"undo"='undo'
Undo the focused editor's last edit step.
yes
readonlyyes:"yes"='yes'
Affirmative dialog answer; gated by valid() like ok.
zoom
readonlyzoom:"zoom"='zoom'
Toggle maximize/restore on the active window.