]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
Use the raw mode so we lose terminal echo
authorRay Strode <rstrode@redhat.com>
Tue, 20 May 2008 12:54:38 +0000 (08:54 -0400)
committerRay Strode <rstrode@redhat.com>
Tue, 20 May 2008 12:54:38 +0000 (08:54 -0400)
src/ply-window.c

index b1417c594c0b676c03fdadfe25ee28e17992fd0c..61c4fccf1fb1787c3df5b35d66cce57d3944e3d3 100644 (file)
@@ -150,7 +150,7 @@ ply_window_set_unbuffered_input (ply_window_t *window)
   struct termios term_attributes;
 
   tcgetattr (window->tty_fd, &term_attributes);
-  term_attributes.c_lflag &= ~ICANON;
+  cfmakeraw (&term_attributes);
 
   if (tcsetattr (window->tty_fd, TCSAFLUSH, &term_attributes) != 0)
     return false;