Commit 721e0a5a authored by Jan Rybar's avatar Jan Rybar

Merge branch 'pkttyagent-input-erased' into 'master'

Restoring terminal setting erases unread input

See merge request !40
parents 6ebec157 270da3e1
......@@ -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