You need to use the tricks linked in this other thread.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Wait for a keypress | 12 | 11053 | November 15, 2025 | |
| Read input stream until the next white space? | 2 | 1758 | July 15, 2022 | |
| a=readuntil(STDIN,"\n") | 2 | 831 | May 22, 2018 | |
| Polling keyboard input looking for e.g. 'q' in a loop to 'gracefully' terminate execution | 2 | 1895 | December 9, 2016 | |
| Timed wait for key press | 14 | 987 | June 28, 2023 |