#include #include +#include +#include #include int main(void) { + struct termios tp; + tcgetattr(STDIN_FILENO, &tp); + tp.c_iflag &= ~(IXANY | IXON | IXOFF); + tcsetattr(STDIN_FILENO, TCSANOW, &tp); + initscr(); /* Init screen */ noecho(); /* Don’t echo keypresses */