Commit Graph

15 Commits

Author SHA1 Message Date
55d3f0e160 Mostly finalized working version of better signal handling, including
allowing for suspended/resuming processes (bb +fg) and cleaner linked
list handling code.
2019-10-27 14:58:23 -07:00
999c60c099 Added support for shift-home and shift-end, as well as a default binding
to +spread using them.
2019-10-13 18:34:55 -07:00
9e4e0ee314 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.
2019-10-12 16:04:19 -07:00
e9c75a7837 Use tput cvvis and tput civis for cursor visibility and fix for >
shell mode not showing cursor.
2019-10-11 19:07:05 -07:00
7f0fcdeea4 Removed some unnecessary +refreshes, no longer enable cursor by default,
but instead have ask() etc. make the cursor visible. Also cleaned up
some of the failure cases for better feedback.
2019-10-03 14:57:34 -07:00
97bae88a1e For +deselect, allow +deselect (no colon) to mean "deselect everything"
to make it a simple command instead of +deselect: "$@"
2019-10-03 14:13:27 -07:00
68a3bbf7e2 Fix for empty files not getting detected properly 2019-10-03 13:49:38 -07:00
3de5a5108f Fix for deletion not working properly with <selection> 2019-10-03 13:21:21 -07:00
95047f54e7 Removed unnecessary /dev/tty redirect 2019-10-02 13:41:19 -07:00
0d3d80b94d Restored binding for double left clicking a file. 2019-10-02 13:30:51 -07:00
05e37166fc Fixed 'Enter' key behavior (should work properly for mac again now) 2019-10-02 13:29:25 -07:00
e531e1766c Added fake binding to allow '#' to bind without being parsed as a
comment
2019-10-02 12:45:44 -07:00
c7e08b884a Fix for some messed up behavior for Escape key and for passing vararg
commands to bb
2019-10-02 01:40:40 -07:00
7f402ee32a Fixed some typos in the bindings. 2019-09-30 18:02:55 -07:00
7a666d5195 Overhaul of how binding commands works. It's now all handled through
bbstartup.sh, which loads bindings.bb and parses it to
+bind:<keys>:<script> commands.
2019-09-30 15:46:24 -07:00