commit 19debca77852d250cef6801d587d25ebf250a3a7
parent d10b48c03250526ffd0df79ce1b74c943479c56b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 19 Aug 2020 18:33:17 +0200
use reverse mode (for real)
Many terminals define reverse mode as standout (some don't).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_curses.c b/sfeed_curses.c
@@ -441,7 +441,7 @@ attrmode(int mode)
case ATTR_RESET: p = exit_attribute_mode; break;
case ATTR_BOLD_ON: p = enter_bold_mode; break;
case ATTR_FAINT_ON: p = enter_dim_mode; break;
- case ATTR_REVERSE_ON: p = enter_standout_mode; break;
+ case ATTR_REVERSE_ON: p = enter_reverse_mode; break;
default: return;
}
ttywrite(tparm(p, 0, 0, 0, 0, 0, 0, 0, 0, 0));