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

Function getwindowsz

sys/vms/vmstty.c:589–599  ·  view source on GitHub ↗

called by resize_tty(wintty.c) after receiving a SIGWINCH signal; terminal size has changed and we should update LI and CO (from termcap) */

Source from the content-addressed store, hash-verified

587/* called by resize_tty(wintty.c) after receiving a SIGWINCH signal;
588 terminal size has changed and we should update LI and CO (from termcap) */
589void
590getwindowsz(void)
591{
592 /*
593 * gettty() has code to do this, but it can't be used directly because
594 * it fetches terminal state in order to reset that upon termination.
595 * We need to avoid clobbering other saved state with values used by
596 * game-in-progress. For now, do nothing.
597 */
598 return;
599}
600#endif
601
602#ifdef ENHANCED_SYMBOLS

Callers 1

resize_ttyFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected