I would like to implement:
Press any key to continue...
That responds to, well, any key without pressing the Return or Enter key.
Term::ReadKey
does not implement this behavior. It requires a CRLF.
I'm using iTerm2.
[19] > $*KERNEL
darwin
[20] > $*DISTRO
macos (13.0.1)
[21] > $*RAKU
Raku (6.d)
[22] > $*VM
moar (2022.12)
prompt
, but I don't believe it suits your requirements. – Novercalraku -MNativeCall -e"sub _getch(--> int32) is native(q|msvcrt|) {*}; print q|press any key to continue...| andthen _getch;"
– Fumed