aboutsummaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-10-12 16:04:19 -0700
committerBruce Hill <bruce@bruce-hill.com>2019-10-12 16:04:19 -0700
commit9e4e0ee314e6d29538eddf3da9b7ee9704287f3f (patch)
tree80489672182a27244f39509f51320294f919a61d /API.md
parente9c75a78375cff98bb844d6db8ce15d965cba320 (diff)
verhaul of terminal keypress handling and labeling to support more
functionality for mouse clicking/dragging/left clicking/middle clicking/double clicking and to have more standardized behavior for key names and better handling of key modifiers (Ctrl, Alt, Meta, Shift). Also moved Ctrl-c and Ctrl-z to custom key bindings with (bb +kill and bb +suspend). Mouse clicking is now also handled in key bindings.
Diffstat (limited to 'API.md')
-rw-r--r--API.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/API.md b/API.md
index 6b70093..61974a8 100644
--- a/API.md
+++ b/API.md
@@ -47,6 +47,7 @@ is one of the following commands (or a unique prefix of one):
- `dotfiles:[01]` Whether dotfiles are visible
- `goto:<filename>` Move the cursor to <filename> (changing directory if needed)
- `interleave:[01]` Whether or not directories should be interleaved with files in the display
+- `kill` Exit with failure
- `move:<num*>` Move the cursor a numeric amount
- `quit` Quit bb
- `refresh` Refresh the file listing
@@ -54,6 +55,7 @@ is one of the following commands (or a unique prefix of one):
- `select:<filename>` Select <filename>
- `sort:([+-]method)+` Set sorting method (+: normal, -: reverse), additional methods act as tiebreaker
- `spread:<num*>` Spread the selection state at the cursor
+- `suspend` Suspend `bb` (SIGSTP signal)
- `toggle:<filename>` Toggle the selection status of <filename>
For any of these commands (e.g. `+select`), an empty parameter followed by