You could run it as a async task, some similar questions here Keyboard input monitoring - #6 by cjdoris, How to Detect Key Down Events? - #2 by albheim
Zentrik
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Polling keyboard input looking for e.g. 'q' in a loop to 'gracefully' terminate execution | 2 | 1889 | December 9, 2016 | |
| Wait for a keypress | 12 | 11008 | November 15, 2025 | |
| How to interrupt (not kill) julia from the REPL (again)? | 6 | 884 | June 5, 2023 | |
| What to do when Julia runs away from you? (how to interrupt on C-c?) | 2 | 649 | August 4, 2022 | |
| How to interrupt (not kill) julia from the REPL? | 25 | 17400 | February 14, 2023 |