diff options
Diffstat (limited to 'bin/dtch.c')
-rw-r--r-- | bin/dtch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dtch.c b/bin/dtch.c index 61bf2378..a0cd2899 100644 --- a/bin/dtch.c +++ b/bin/dtch.c @@ -206,7 +206,7 @@ static int atch(int argc, char *argv[]) { if (error) err(EX_IOERR, "tcgetattr"); atexit(restoreTerm); - struct termios raw; + struct termios raw = saveTerm; cfmakeraw(&raw); error = tcsetattr(STDIN_FILENO, TCSADRAIN, &raw); if (error) err(EX_IOERR, "tcsetattr"); |