"wait for any key" in Glulx

How do you wait for a keystroke in Glulx, like you can with Basic Screen Effects?

Isn’t it the same? I think the part where the extension says ‘these things don’t work under glulx’ only refers to the text colour changing.

I haven’t tried it, but that’s certainly what the documentation indicates. I hope it is correct – I am currently working on a game where I use Basic Screen Effects for the “Pause the Game” feature (which waits for a keypress and then clears the screen) and I expect that before I am done I will exceed z-machine limits and have to switch to glulx.

Robert Rothman

Yes, it is. 2 of my projects in glulx use ‘wait for any key’ from basic screen effects.