diff options
Diffstat (limited to '')
-rw-r--r-- | ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.c b/ui.c index daa6dec..048eade 100644 --- a/ui.c +++ b/ui.c @@ -176,6 +176,7 @@ static void disableFlowControl(void) { int error = tcgetattr(STDOUT_FILENO, &term); if (error) err(EX_OSERR, "tcgetattr"); term.c_iflag &= ~IXON; + term.c_cc[VSUSP] = _POSIX_VDISABLE; term.c_cc[VDISCARD] = _POSIX_VDISABLE; error = tcsetattr(STDOUT_FILENO, TCSADRAIN, &term); if (error) err(EX_OSERR, "tcsetattr"); |