summary refs log tree commit diff
path: root/bin/hnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hnel.c')
-rw-r--r--bin/hnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hnel.c b/bin/hnel.c
index 121d3fae..77332809 100644
--- a/bin/hnel.c
+++ b/bin/hnel.c
@@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
 	if (error) err(EX_IOERR, "tcgetattr");
 	atexit(restoreTerm);
 
-	struct termios raw;
+	struct termios raw = saveTerm;
 	cfmakeraw(&raw);
 	error = tcsetattr(STDERR_FILENO, TCSADRAIN, &raw);
 	if (error) err(EX_IOERR, "tcsetattr");