Linux Programmer’s Operation System Instruction

If TRUE, the key codes returned from getch() are 8-bit-clean (the highest bit will not be stripped).•int cbreak() int nocbreak() int crmode() int nocrmode() cbreak() and nocbreak() will turn the terminal CBREAK mode on or off. When CBREAK is on, input from a read will be immediately available to the program, when off the input will be buffered until newline occurs. (Note: crmode() and nocrmode() are for upward compatibility, don’t use them.)

Author: Tuure Kreios

Learn more

Deals