linux - Ascii value of Enter Key in C - Unix - Stack Overflow

linux - Ascii value of Enter Key in C - Unix - Stack Overflow

瀏覽:1215
日期:2024-05-09
The enter key itself doesn't have an ASCII character, it has a scan code. '\n' is the ASCII line-ending for UNIX, "\r\n" on Windows, and '\r' on Mac. The scan code is a hardware-specific number which gets translated by the application into...看更多