vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 4d10e732821ddb29beee10edf1db6483d2118fa6 parent 9bf08acce6c42d3daa366ad32b24ff2b3c068324 Author: Marc André Tanner <mat@brain-dump.org> Date: Sun, 9 Aug 2015 10:33:26 +0200 ui: make cursor visible when executing external programs This also affects the file open dialog. Diffstat:
| M | ui-curses.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ui-curses.c b/ui-curses.c @@ -574,12 +574,14 @@ static Key ui_getkey(Ui *ui) { } static void ui_terminal_save(Ui *ui) { + curs_set(1); reset_shell_mode(); } static void ui_terminal_restore(Ui *ui) { reset_prog_mode(); wclear(stdscr); + curs_set(0); } Ui *ui_curses_new(Color *colors) {