diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-12 15:55:50 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-12 15:55:50 +0100 |
| commit | e22ab83c14a92f32e4479f527f82d67e5959e27a (patch) | |
| tree | 97a5e4063839cbb8e6d7363158f788638a630661 /ui-curses.c | |
| parent | 2bbcf715a18a2a27dc2beb30e3f644273d7e16a9 (diff) | |
| download | vis-e22ab83c14a92f32e4479f527f82d67e5959e27a.tar.gz vis-e22ab83c14a92f32e4479f527f82d67e5959e27a.tar.xz | |
ui: make primary cursor blink even if no lua theme has been loaded
Diffstat (limited to 'ui-curses.c')
| -rw-r--r-- | ui-curses.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-curses.c b/ui-curses.c index 3d45b62..a3b48c4 100644 --- a/ui-curses.c +++ b/ui-curses.c @@ -956,10 +956,10 @@ static UiWin *ui_window_new(Ui *ui, View *view, File *file, enum UiOption option win->styles[i] = style; } - style.attr |= A_REVERSE; - win->styles[UI_STYLE_CURSOR] = style; - win->styles[UI_STYLE_SELECTION] = style; - win->styles[UI_STYLE_COLOR_COLUMN] = style; + win->styles[UI_STYLE_CURSOR].attr |= A_REVERSE; + win->styles[UI_STYLE_CURSOR_PRIMARY].attr |= A_REVERSE|A_BLINK; + win->styles[UI_STYLE_SELECTION].attr |= A_REVERSE; + win->styles[UI_STYLE_COLOR_COLUMN].attr |= A_REVERSE; win->ui = uic; win->view = view; |
