enable special key signal generation
This commit is contained in:
@@ -75,7 +75,7 @@ Aquarium::Aquarium() {
|
|||||||
|
|
||||||
// Set terminal to raw mode
|
// Set terminal to raw mode
|
||||||
struct termios raw = original_termios;
|
struct termios raw = original_termios;
|
||||||
raw.c_lflag &= ~(ECHO | ICANON | ISIG);
|
raw.c_lflag &= ~(ECHO | ICANON);
|
||||||
raw.c_iflag &= ~(IXON | ICRNL);
|
raw.c_iflag &= ~(IXON | ICRNL);
|
||||||
raw.c_oflag &= ~(OPOST);
|
raw.c_oflag &= ~(OPOST);
|
||||||
raw.c_cc[VMIN] = 0; // Non-blocking read
|
raw.c_cc[VMIN] = 0; // Non-blocking read
|
||||||
|
|||||||
Reference in New Issue
Block a user