parent
8b3bf897c2
commit
a5a162b9c6
1
ui.c
1
ui.c
|
@ -176,6 +176,7 @@ static void disableFlowControl(void) {
|
||||||
int error = tcgetattr(STDOUT_FILENO, &term);
|
int error = tcgetattr(STDOUT_FILENO, &term);
|
||||||
if (error) err(EX_OSERR, "tcgetattr");
|
if (error) err(EX_OSERR, "tcgetattr");
|
||||||
term.c_iflag &= ~IXON;
|
term.c_iflag &= ~IXON;
|
||||||
|
term.c_cc[VSUSP] = _POSIX_VDISABLE;
|
||||||
term.c_cc[VDISCARD] = _POSIX_VDISABLE;
|
term.c_cc[VDISCARD] = _POSIX_VDISABLE;
|
||||||
error = tcsetattr(STDOUT_FILENO, TCSADRAIN, &term);
|
error = tcsetattr(STDOUT_FILENO, TCSADRAIN, &term);
|
||||||
if (error) err(EX_OSERR, "tcsetattr");
|
if (error) err(EX_OSERR, "tcsetattr");
|
||||||
|
|
Loading…
Reference in New Issue