Pressing Esc with the help overlay open quits Hawkeye. It should close the overlay. Esc is the common convention for dismissing menus and pop-ups, so it is the first key most users will try.
The overlay opens with ? at src/main.c:801, and pressing ? again is the only way out.
Hawkeye never calls SetExitKey, so raylib's default Esc to quit is still active. The main loop at src/main.c:468 runs on WindowShouldClose(), which goes true as soon as raylib sees that key.
src/ui_marker_input.c:29 already handles Esc to cancel marker label entry. It runs, then the app exits anyway on the next pass, so that path has never worked.
Fix is SetExitKey(KEY_NULL), then handle Esc directly. Close the marker entry if it is active, otherwise close the help overlay, otherwise quit.
wasm/wasm_main.c has its own copy of the input handling and needs the same change. Android has no keyboard.
Pressing Esc with the help overlay open quits Hawkeye. It should close the overlay. Esc is the common convention for dismissing menus and pop-ups, so it is the first key most users will try.
The overlay opens with
?atsrc/main.c:801, and pressing?again is the only way out.Hawkeye never calls
SetExitKey, so raylib's default Esc to quit is still active. The main loop atsrc/main.c:468runs onWindowShouldClose(), which goes true as soon as raylib sees that key.src/ui_marker_input.c:29already handles Esc to cancel marker label entry. It runs, then the app exits anyway on the next pass, so that path has never worked.Fix is
SetExitKey(KEY_NULL), then handle Esc directly. Close the marker entry if it is active, otherwise close the help overlay, otherwise quit.wasm/wasm_main.chas its own copy of the input handling and needs the same change. Android has no keyboard.