summaryrefslogtreecommitdiff
path: root/src/fe-text/terminfo-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-text/terminfo-core.c')
-rw-r--r--src/fe-text/terminfo-core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fe-text/terminfo-core.c b/src/fe-text/terminfo-core.c
index 3d18b79b..2d9db404 100644
--- a/src/fe-text/terminfo-core.c
+++ b/src/fe-text/terminfo-core.c
@@ -308,6 +308,11 @@ static void _set_normal(TERM_REC *term)
tput(tparm(term->TI_normal));
}
+static void _set_blink(TERM_REC *term)
+{
+ tput(tparm(term->TI_blink));
+}
+
/* Bold on */
static void _set_bold(TERM_REC *term)
{
@@ -589,6 +594,7 @@ static int term_setup(TERM_REC *term)
term->repeat = _repeat_manual;
/* Bold, underline, standout */
+ term->set_blink = term->TI_blink ? _set_blink : _ignore;
term->set_bold = term->TI_bold ? _set_bold : _ignore;
term->set_uline = term->TI_smul && term->TI_rmul ?
_set_uline : _ignore_parm;