diff options
| author | Philipp Emanuel Weidmann <pew@worldwidemann.com> | 2017-06-10 20:15:36 +0530 |
|---|---|---|
| committer | Philipp Emanuel Weidmann <pew@worldwidemann.com> | 2017-06-10 20:15:36 +0530 |
| commit | 03ceb7943b7f28c0b52803d64f956ca549e2cc03 (patch) | |
| tree | de8df9ae822839712bd71fe8e8f088cc008ef383 /ui-terminal.c | |
| parent | 081d99dda082a360dad367e8e2cc036a738edca5 (diff) | |
| download | vis-03ceb7943b7f28c0b52803d64f956ca549e2cc03.tar.gz vis-03ceb7943b7f28c0b52803d64f956ca549e2cc03.tar.xz | |
More theme improvements
Diffstat (limited to 'ui-terminal.c')
| -rw-r--r-- | ui-terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-terminal.c b/ui-terminal.c index 8cdd655..93f78f0 100644 --- a/ui-terminal.c +++ b/ui-terminal.c @@ -271,7 +271,8 @@ static void ui_window_draw(UiWin *w) { } snprintf(buf, sizeof buf, "%*zu ", sidebar_width-1, number); } - ui_draw_string(ui, x, y, buf, win, UI_STYLE_LINENUMBER); + ui_draw_string(ui, x, y, buf, win, + (l->lineno == cursor_lineno) ? UI_STYLE_LINENUMBER_CURSOR : UI_STYLE_LINENUMBER); prev_lineno = l->lineno; } debug("draw-window: [%d][%d] ... cells[%d][%d]\n", y, x+sidebar_width, y, view_width); |
