vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 34e332bfff81f75b9b7feda03625cb8d3e62ec14
parent 03b2bbc1124b888c7ae3348b326c839d90a27408
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu, 10 Mar 2016 21:54:56 +0100

ui: add support for blink style attribute

Diffstat:
Mui-curses.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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")) {