From 380f2a8ab0af67164e4b6170073bf2953e5d6765 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 6 Jun 2019 18:09:33 -0700 Subject: [PATCH] Removed code for move cursor to position (unused) --- bb.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bb.c b/bb.c index 2f7f2d7..20c2231 100644 --- a/bb.c +++ b/bb.c @@ -1308,10 +1308,6 @@ void bb_browse(bb_t *bb, const char *path) move_cursor(tty_out, 0, termheight-1); if (binding->flags & NORMAL_TERM) fputs(T_OFF(T_ALT_SCREEN), tty_out); - if (binding->flags & AT_CURSOR && !bb->firstselected) { - move_cursor(tty_out, 0, 3 + bb->cursor - bb->scroll); - fputs("\033[K", tty_out); - } fputs(T_ON(T_SHOW_CURSOR), tty_out); close_term(); run_cmd_on_selection(bb, binding->command);