diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-10 21:54:56 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-10 22:36:54 +0100 |
| commit | 650ef03aa0529f7b69e4757697f161258b07ef1d (patch) | |
| tree | bd7bfbdb55e895fe5517ef18f2d6fc02fef30999 | |
| parent | d268609511dc77e1acbd3885642b82751d32bccc (diff) | |
| download | vis-650ef03aa0529f7b69e4757697f161258b07ef1d.tar.gz vis-650ef03aa0529f7b69e4757697f161258b07ef1d.tar.xz | |
ui: add support for blink style attribute
| -rw-r--r-- | ui-curses.c | 4 |
1 files changed, 4 insertions, 0 deletions
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")) { |
