From 76f1cd816b397427edc12fced6c95645b9df6e78 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 6 Jun 2019 18:13:13 -0700 Subject: Removed some unnecessary +refreshes and just set the dirty bit to 1 whenever an external program runs so the screen redraws without necessarily refreshing the file listing. --- bb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bb.c') diff --git a/bb.c b/bb.c index 20c2231..2900950 100644 --- a/bb.c +++ b/bb.c @@ -1313,8 +1313,7 @@ void bb_browse(bb_t *bb, const char *path) run_cmd_on_selection(bb, binding->command); init_term(); fputs(T_ON(T_ALT_SCREEN), tty_out); - if (binding->flags & NORMAL_TERM) - bb->dirty = 1; + bb->dirty = 1; check_cmds = 1; goto redraw; } -- cgit v1.2.3