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

Function check_tty_wincap

src/windows.c:230–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229#ifdef TTY_GRAPHICS
230boolean
231check_tty_wincap(unsigned long wincap)
232{
233 struct win_choices *wc = win_choices_find("tty");
234
235 if (wc)
236 return ((wc->procs->wincap & wincap) == wincap);
237 return FALSE;
238}
239
240boolean
241check_tty_wincap2(unsigned long wincap2)

Callers 1

can_set_perm_inventFunction · 0.85

Calls 1

win_choices_findFunction · 0.85

Tested by

no test coverage detected