Added support for SHOW_CURSOR

This commit is contained in:
Bruce Hill 2019-05-25 23:28:08 -07:00
parent f3b052d47c
commit 5d20b81fc3

4
bb.c
View File

@ -1244,10 +1244,10 @@ entry_t *explore(const char *path)
} }
term_move(0, termheight-1); term_move(0, termheight-1);
//writez(termfd, "\033[K"); //writez(termfd, "\033[K");
if (binding->flags & NORMAL_TERM) { if (binding->flags & NORMAL_TERM)
default_screen(); default_screen();
if (binding->flags & NORMAL_TERM || binding->flags & SHOW_CURSOR)
show_cursor(); show_cursor();
}
close_term(); close_term();
run_cmd_on_selection(state, binding->command); run_cmd_on_selection(state, binding->command);
init_term(); init_term();