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

Function set_console_cursor

sys/windows/consoletty.c:1148–1155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1146}
1147
1148static void set_console_cursor(int x, int y)
1149{
1150 nhassert(x >= 0 && x < console.width);
1151 nhassert(y >= 0 && y < console.height);
1152
1153 console.cursor.X = max(0, min(console.width - 1, x));
1154 console.cursor.Y = max(0, min(console.height - 1, y));
1155}
1156
1157static void
1158really_move_cursor(void)

Callers 11

really_move_cursorFunction · 0.85
cmovFunction · 0.85
nocmovFunction · 0.85
xputsFunction · 0.85
xputcFunction · 0.85
console_g_putchFunction · 0.85
g_pututf8Function · 0.85
cl_endFunction · 0.85
homeFunction · 0.85
backspFunction · 0.85
VA_DECLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected