8e62094a6fc066d9c3e8bc84831ddc7450bf433a
Ctrl-D doesn't move the cursor to a new line, but the retry prompts move up a line assuming Enter was pressed, so each Ctrl-D climbed up the screen over the keyboard and board. It also quit the game, losing an offline game to a stray key press. On a terminal, print the missing newline and carry on as if Enter was pressed. Only exit when input has really ended (not a terminal), so a closed pipe still can't spin the retry loop. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Languages
Shell
57.9%
JavaScript
26.3%
CSS
13.3%
HTML
2.5%