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

Function emit_stop_inverse

sys/windows/consoletty.c:599–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599void
600emit_stop_inverse(void)
601{
602 DWORD unused;
603 static const char escseq[] = "\x1b[27m";
604
605 WriteConsoleA(console.hConOut, (LPCSTR) escseq, (int) strlen(escseq),
606 &unused, NULL);
607}
608
609#if 0
610#define tcfmtstr "\x1b[38;2;%d;%d;%dm"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected