aboutsummaryrefslogtreecommitdiff
path: root/bb.h
AgeCommit message (Collapse)Author
2019-10-13Minor version bumpBruce Hill
2019-10-13More code cleanup: consolidating cd_to() and populate_files() into justBruce Hill
populate_files(), cleaner startup behavior, less duplicative environment variable setting, misc.
2019-10-13More code cleanup, including tweaking matches_cmd() to figure out ifBruce Hill
there are required arguments or not, and refactoring run_bbcmd() to no longer return a value (which was ignored), but instead just spit out error messages to stderr if necessary.
2019-10-13Deprecated support for piping commands in to bb at startup (undocumented). ↵Bruce Hill
Users should use xargs if they want to do that sort of thing.
2019-10-13Cleaned up the command parsing code a bit to be slightly more correctBruce Hill
and more compact. Now uses if-else-if chain instead of nested switch statements. This may be very slightly less performant, but probably not noticeable and much cleaner code.
2019-10-12verhaul of terminal keypress handling and labeling to support moreBruce Hill
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-11Use `tput cvvis` and `tput civis` for cursor visibility and fix for `>`Bruce Hill
shell mode not showing cursor.
2019-10-09Moved bbstartup search to a loop.Bruce Hill
2019-10-03Version bumpBruce Hill
2019-10-03Removed some unnecessary +refreshes, no longer enable cursor by default,Bruce Hill
but instead have ask() etc. make the cursor visible. Also cleaned up some of the failure cases for better feedback.
2019-10-03Overhaul/cleanup of command line argument parsing. Now properly handlesBruce Hill
startup commands in the order: bbstartup.sh, bb +cmd, echo +cmd | bb
2019-10-02Removed BB_QUITBruce Hill
2019-10-02Fix for some messed up behavior for Escape key and for passing varargBruce Hill
commands to bb
2019-09-30Fixed an issue with /etc/bb instead of /etc/xdg/bb and moved the startupBruce Hill
command into bb.h with the other bb shell script stuff.
2019-09-30Fix for `pause` having both bold+faint text instead of just faint.Bruce Hill
2019-09-30Moved config.h -> bb.h and did some cleanup, moving functionBruce Hill
declarations and constants out of bb.c and into bb.h. Also re-alphabetized the functions and updated the docs.