mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 10:08:06 +02:00
Use the raw mode so we lose terminal echo
This commit is contained in:
parent
b8781ead84
commit
c04811313b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue