Sunday February 28th 2021 - Update issue with packman inode mirror
There are issues with the inode mirror, please configure an alternative mirror. See http://packman.links2linux.org/mirrors
-
C code - get key press - no echo - a to z and 0 to 9
I need to wait for a key, 'n', then continue. No echo of character. You don't have to press enter.
This works in bash. If I try using the 'system' function, I get a keyboard freeze, but no key will continue.
https://linux.die.net/man/3/system
system("read -n 1 -s -r");
How to make this work? Else, some other way to wait for a keypress in C.
Help....
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|