MCPcopy Create free account
hub / github.com/NetHack/NetHack / term_curs_set

Function term_curs_set

win/tty/termcap.c:1497–1510  ·  view source on GitHub ↗

hide or show cursor */

Source from the content-addressed store, hash-verified

1495
1496/* hide or show cursor */
1497void
1498term_curs_set(int visibility)
1499{
1500 static int vis = -1;
1501
1502 if (vis == visibility)
1503 return;
1504
1505 if (!visibility && nh_VI)
1506 xputs(nh_VI);
1507 else if (visibility && nh_VE)
1508 xputs(nh_VE);
1509 vis = visibility;
1510}
1511
1512#ifdef CHANGE_COLOR
1513void

Callers

nothing calls this directly

Calls 1

xputsFunction · 0.70

Tested by

no test coverage detected