Commit 270da3e1 authored by Jan Rybar's avatar Jan Rybar
Browse files

Restoring terminal setting erases unread input

parent 6ebec157
......@@ -56,7 +56,7 @@ static void tty_handler(int signal)
if (tty_flags_saved)
tcsetattr (fileno (tty), TCSAFLUSH, &ts);
tcsetattr (fileno (tty), TCSADRAIN, &ts);
kill(getpid(), signal);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment