Minor changes/fixes

This commit is contained in:
Bruce Hill 2021-08-13 13:08:22 -07:00
parent 033455e82c
commit 303b6bad08
2 changed files with 7 additions and 2 deletions

1
draw.c
View File

@ -302,6 +302,7 @@ void render(FILE *out, bb_t *bb)
int onscreen = winsize.ws_row - 3;
bb->dirty |= (winsize.ws_row != oldsize.ws_row) || (winsize.ws_col != oldsize.ws_col);
oldsize = winsize;
if (!bb->dirty) {
// Use terminal scrolling:

View File

@ -25,6 +25,10 @@ kill -TSTP $PPID
## Ctrl-\: Quit and generate core dump
kill -QUIT $PPID
## +: Run a bb command
bbcmd "$(bbask '+')"
bbcmd refresh
## Section: File Navigation
## j,Down: Next file
bbcmd move:+1
@ -67,10 +71,10 @@ mark="$(find "$XDG_CONFIG_HOME"/bb/marks/ -mindepth 1 -type l -printf '%P\0' | b
mark="$(readlink -f "$XDG_CONFIG_HOME"/bb/marks/"$mark")"
bbcmd cd:"$mark"
## -,Backspace: Go to previous directory
## [,Backspace: Go to previous directory
bbcmd cd:-
## +,=: Go to next directory
## ]: Go to next directory
bbcmd cd:+
## ;: Show selected files