From: Ray Strode Date: Tue, 20 May 2008 12:54:38 +0000 (-0400) Subject: Use the raw mode so we lose terminal echo X-Git-Tag: 0.1.0~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c04811313b1094ea27e923bd35ad57737a8ab4bd;p=thirdparty%2Fplymouth.git Use the raw mode so we lose terminal echo --- diff --git a/src/ply-window.c b/src/ply-window.c index b1417c59..61c4fccf 100644 --- a/src/ply-window.c +++ b/src/ply-window.c @@ -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;