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

Function TextKey

outdated/sys/mac/macwin.c:2812–2824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2810 */
2811
2812static void
2813TextKey(NhWindow *wind, char ch)
2814{
2815 ch = filter_scroll_key(ch, wind);
2816 if (!ch)
2817 return;
2818 if (inSelect == WIN_ERR && ClosingWindowChar(ch)) {
2819 HideWindow(wind->its_window);
2820 mac_destroy_nhwindow(wind - theWindows);
2821 } else
2822 AddToKeyQueue(topl_resp_key(ch), TRUE);
2823 return;
2824}
2825
2826static void
2827TextUpdate(NhWindow *wind)

Callers 2

TextEventFunction · 0.85
macKeyTextFunction · 0.85

Calls 5

filter_scroll_keyFunction · 0.85
ClosingWindowCharFunction · 0.85
mac_destroy_nhwindowFunction · 0.85
AddToKeyQueueFunction · 0.85
topl_resp_keyFunction · 0.85

Tested by

no test coverage detected