diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-08-13 13:08:22 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-08-13 13:08:22 -0700 |
| commit | 303b6bad087d596bb44ba9a71f5b5e3ec20cdfec (patch) | |
| tree | ead1319cb08a340db29664acf461bc970a70a474 | |
| parent | 033455e82ceb6f2818a8639e45551764ab79c7db (diff) | |
Minor changes/fixes
| -rw-r--r-- | draw.c | 1 | ||||
| -rwxr-xr-x | scripts/bbkeys | 8 |
2 files changed, 7 insertions, 2 deletions
@@ -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: diff --git a/scripts/bbkeys b/scripts/bbkeys index 748fdae..97bad28 100755 --- a/scripts/bbkeys +++ b/scripts/bbkeys @@ -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 |
