From 9e4e0ee314e6d29538eddf3da9b7ee9704287f3f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 12 Oct 2019 16:04:19 -0700 Subject: 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. --- API.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'API.md') 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:` Move the cursor to (changing directory if needed) - `interleave:[01]` Whether or not directories should be interleaved with files in the display +- `kill` Exit with failure - `move:` 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:` Select - `sort:([+-]method)+` Set sorting method (+: normal, -: reverse), additional methods act as tiebreaker - `spread:` Spread the selection state at the cursor +- `suspend` Suspend `bb` (SIGSTP signal) - `toggle:` Toggle the selection status of For any of these commands (e.g. `+select`), an empty parameter followed by -- cgit v1.2.3