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

Function get_scr_size

outdated/sys/os2/os2.c:341–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void
342get_scr_size()
343{
344 VIOMODEINFO ModeInfo;
345 HVIO VideoHandle = 0;
346
347 ModeInfo.cb = sizeof(ModeInfo);
348
349 (void) VioGetMode(&ModeInfo, VideoHandle);
350
351 CO = ModeInfo.col;
352 LI = ModeInfo.row;
353}
354
355void
356gotoxy(x, y)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected