diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-17 22:10:34 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-17 22:10:34 +0200 |
| commit | 016180e28ad42206cb4522891ef440294bd9ebf5 (patch) | |
| tree | 0ebd449b52c96520fccbb0ca9ec854ca2020534b /ui-curses.c | |
| parent | ec4d9a1c3f453d807418d8260fce0cdf465225dc (diff) | |
| download | vis-016180e28ad42206cb4522891ef440294bd9ebf5.tar.gz vis-016180e28ad42206cb4522891ef440294bd9ebf5.tar.xz | |
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.
Diffstat (limited to 'ui-curses.c')
| -rw-r--r-- | ui-curses.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |
