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

Function enable_ctrlP

outdated/sys/os2/os2.c:326–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void
327enable_ctrlP()
328{
329 KBDINFO KbdInfo;
330 HKBD KbdHandle = 0;
331
332 if (!iflags.rawio)
333 return;
334 KbdInfo.cb = sizeof(KbdInfo);
335 KbdGetStatus(&KbdInfo, KbdHandle);
336 KbdInfo.fsMask &= 0xFFFB; /* BINARY off */
337 KbdInfo.fsMask |= 0x0008; /* ASCII on */
338 KbdSetStatus(&KbdInfo, KbdHandle);
339}
340
341void
342get_scr_size()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected