]> git.ipfire.org Git - thirdparty/plymouth.git/commit
[terminal] keep track of terminal raw/cooked state
authorScott James Remnant <scott@ubuntu.com>
Thu, 18 Mar 2010 21:32:29 +0000 (21:32 +0000)
committerRay Strode <rstrode@redhat.com>
Mon, 22 Mar 2010 03:48:21 +0000 (23:48 -0400)
commite9a22723da7c9400d25aeff2625651b3d03be43f
tree257a9203402b1146bed46c6999c7022644d97ac9
parent0ed7480ed7e7da82640315f7802448ca2703de41
[terminal] keep track of terminal raw/cooked state

Instead of setting the terminal to unbuffered (raw) mode on every
write, keep track of whether it's unbuffered or not at the points
we open and close the terminal.

Deactivate already takes care to set back into buffered mode;
otherwise we can end up resetting the terminal mode under X causing
Enter to send X SIGQUIT.
src/libply-splash-core/ply-terminal.c