adamandClaude Opus 5.5 a3f9ae6a17 quit when input ends at the guess prompt
At end of input (Ctrl-D, or stdin closed) read returns straight away
with an empty guess, so the "Must be 5 letters" loop spun forever at
full CPU. If the game's parent process was killed first, the subshell
was left orphaned and spinning.

Exit retrieve_guess when read hits EOF, pass that back through the
retry prompts with a single recursive call, and quit from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:31:21 +00:00
2025-02-08 20:12:34 +00:00
S
Description
No description provided
3.8 MiB
0 Stars 1 Watchers 0 Forks
Languages
Shell 57.9%
JavaScript 26.3%
CSS 13.3%
HTML 2.5%