From 650ef03aa0529f7b69e4757697f161258b07ef1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 10 Mar 2016 21:54:56 +0100 Subject: ui: add support for blink style attribute --- ui-curses.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui-curses.c b/ui-curses.c index 1bc145a..e38eb7b 100644 --- a/ui-curses.c +++ b/ui-curses.c @@ -563,6 +563,10 @@ static bool ui_window_syntax_style(UiWin *w, int id, const char *style) { cell_style.attr |= A_UNDERLINE; } else if (!strcasecmp(option, "notunderlined")) { cell_style.attr &= ~A_UNDERLINE; + } else if (!strcasecmp(option, "blink")) { + cell_style.attr |= A_BLINK; + } else if (!strcasecmp(option, "notblink")) { + cell_style.attr &= ~A_BLINK; } else if (!strcasecmp(option, "fore")) { cell_style.fg = color_fromstring(p); } else if (!strcasecmp(option, "back")) { -- cgit v1.2.3