Reenable CTRL+C in rawmode
changed terminal into raw mode
cfmakeraw(&termios); After that terminal no more captures CTRL+C Is there a way to enable CTRL+C (to terminate the program) while still have RAW mode? Thanks, |
What about
Code:
stty intr "^C" |
If you are looking for a termios interface in your application:
Code:
tcgetattr(fd, &options); --- rod. |
Thanks to theNbomr,
Worked perfectly! |
All times are GMT -5. The time now is 09:39 AM. |