Minor changes/fixes
This commit is contained in:
parent
033455e82c
commit
303b6bad08
1
draw.c
1
draw.c
@ -302,6 +302,7 @@ void render(FILE *out, bb_t *bb)
|
|||||||
int onscreen = winsize.ws_row - 3;
|
int onscreen = winsize.ws_row - 3;
|
||||||
|
|
||||||
bb->dirty |= (winsize.ws_row != oldsize.ws_row) || (winsize.ws_col != oldsize.ws_col);
|
bb->dirty |= (winsize.ws_row != oldsize.ws_row) || (winsize.ws_col != oldsize.ws_col);
|
||||||
|
oldsize = winsize;
|
||||||
|
|
||||||
if (!bb->dirty) {
|
if (!bb->dirty) {
|
||||||
// Use terminal scrolling:
|
// Use terminal scrolling:
|
||||||
|
@ -25,6 +25,10 @@ kill -TSTP $PPID
|
|||||||
## Ctrl-\: Quit and generate core dump
|
## Ctrl-\: Quit and generate core dump
|
||||||
kill -QUIT $PPID
|
kill -QUIT $PPID
|
||||||
|
|
||||||
|
## +: Run a bb command
|
||||||
|
bbcmd "$(bbask '+')"
|
||||||
|
bbcmd refresh
|
||||||
|
|
||||||
## Section: File Navigation
|
## Section: File Navigation
|
||||||
## j,Down: Next file
|
## j,Down: Next file
|
||||||
bbcmd move:+1
|
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")"
|
mark="$(readlink -f "$XDG_CONFIG_HOME"/bb/marks/"$mark")"
|
||||||
bbcmd cd:"$mark"
|
bbcmd cd:"$mark"
|
||||||
|
|
||||||
## -,Backspace: Go to previous directory
|
## [,Backspace: Go to previous directory
|
||||||
bbcmd cd:-
|
bbcmd cd:-
|
||||||
|
|
||||||
## +,=: Go to next directory
|
## ]: Go to next directory
|
||||||
bbcmd cd:+
|
bbcmd cd:+
|
||||||
|
|
||||||
## ;: Show selected files
|
## ;: Show selected files
|
||||||
|
Loading…
Reference in New Issue
Block a user