From 016180e28ad42206cb4522891ef440294bd9ebf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sun, 17 Apr 2016 22:10:34 +0200 Subject: vis: indicate primary cursor by using a different color instead of blinking Blinking caused more problems (#251, #202) than it solved. Blank cells were especially problematic. --- ui-curses.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui-curses.c') diff --git a/ui-curses.c b/ui-curses.c index f5b1194..d60cd04 100644 --- a/ui-curses.c +++ b/ui-curses.c @@ -709,10 +709,7 @@ static void ui_window_draw(UiWin *w) { prev_style = style; } wattrset(win->win, attr); - if (multiple_cursors && l->cells[x].cursor_primary && l->cells[x].data[0] == ' ') - waddstr(win->win, "█"); - else - waddstr(win->win, l->cells[x].data); + waddstr(win->win, l->cells[x].data); } /* try to fixup display issues, in theory we should always output a full line */ int x, y; -- cgit v1.2.3