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

Function send_yn_esc

outdated/win/gem/wingem1.c:3103–3117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3101}
3102
3103int
3104send_yn_esc(char ch)
3105{
3106 static char esc_char = 0;
3107
3108 if (ch < 0) {
3109 if (esc_char) {
3110 send_key((int) esc_char);
3111 return (TRUE);
3112 }
3113 return (FALSE);
3114 } else
3115 esc_char = ch;
3116 return (TRUE);
3117}
3118
3119#define single_init K_Init
3120

Callers 2

single_handlerFunction · 0.85
Gem_yn_functionFunction · 0.85

Calls 1

send_keyFunction · 0.85

Tested by

no test coverage detected