erkyrath / lectrote

The IF interpreter in an Electron shell
Other
248 stars 28 forks source link

Counterfeit Monkey: Restarting removes prompt #124

Closed angstsmurf closed 3 years ago

angstsmurf commented 4 years ago

Another interesting bug: When restarting a debug build of CM with any of the three Lectrote interpreters and then typing RESTART as the first command, the game will restart without a prompt. The >and any text before it, such as Can you hear me? >> is absent. Commands can still be entered, though, and the prompt returns after a couple of turns (or rather: it comes back after the first command, then is absent again after clearing the screen, then comes back again.)

Does this have something to do with the Glulx line input echo suppression the game uses to avoid newlines when cancelling input?

EDIT: Reproduced this in a non-debug build as well, so I updated the title.

angstsmurf commented 3 years ago

Right, this only happens with the custom build with disabled Startup Precomputation, and with that it happens in all interpreters. So not a Lectrote bug, if indeed a bug at all. Should have tested this better before reporting it, sorry!