Fix NO_TERMS compile, rename func
... to match others, from tty_curs_set to term_curs_set
This commit is contained in:
@@ -747,16 +747,6 @@ tty_nhbell(void)
|
||||
(void) fflush(stdout);
|
||||
}
|
||||
|
||||
/* hide or show cursor */
|
||||
void
|
||||
tty_curs_set(int visibility)
|
||||
{
|
||||
if (!visibility && nh_VI)
|
||||
xputs(nh_VI);
|
||||
else if (visibility && nh_VE)
|
||||
xputs(nh_VE);
|
||||
}
|
||||
|
||||
#ifdef ASCIIGRAPH
|
||||
void
|
||||
graph_on(void)
|
||||
@@ -1495,6 +1485,16 @@ term_start_bgcolor(int color)
|
||||
xputs(tmp);
|
||||
}
|
||||
|
||||
/* hide or show cursor */
|
||||
void
|
||||
term_curs_set(int visibility)
|
||||
{
|
||||
if (!visibility && nh_VI)
|
||||
xputs(nh_VI);
|
||||
else if (visibility && nh_VE)
|
||||
xputs(nh_VE);
|
||||
}
|
||||
|
||||
#ifndef SEP2
|
||||
#define tcfmtstr "\033[38;2;%ld;%ld;%ldm"
|
||||
#ifdef UNIX
|
||||
|
||||
Reference in New Issue
Block a user