From e22ab83c14a92f32e4479f527f82d67e5959e27a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 12 Mar 2016 15:55:50 +0100 Subject: ui: make primary cursor blink even if no lua theme has been loaded --- ui-curses.c | 8 ++++---- 1 file 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; -- cgit v1.2.3