mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 17:08:35 +02:00
terminal: Don't set ISTRIP in terminal attributes
In certain error paths plymouth would erroneously set
ISTRIP on the terminal. This is bogus in the same way
the changes fixed by commit ea394383c5
were bogus.
This commit is contained in:
parent
b204e25c87
commit
aba7c7b89f
2 changed files with 2 additions and 2 deletions
|
|
@ -244,7 +244,7 @@ ply_terminal_set_buffered_input (ply_terminal_t *terminal)
|
|||
*/
|
||||
if (!terminal->original_term_attributes_saved || !(terminal->original_term_attributes.c_lflag & ICANON))
|
||||
{
|
||||
term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON;
|
||||
term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON;
|
||||
term_attributes.c_oflag |= OPOST;
|
||||
term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;
|
||||
|
||||
|
|
|
|||
|
|
@ -1963,7 +1963,7 @@ on_crash (int signum)
|
|||
|
||||
tcgetattr (fd, &term_attributes);
|
||||
|
||||
term_attributes.c_iflag |= BRKINT | IGNPAR | ISTRIP | ICRNL | IXON;
|
||||
term_attributes.c_iflag |= BRKINT | IGNPAR | ICRNL | IXON;
|
||||
term_attributes.c_oflag |= OPOST;
|
||||
term_attributes.c_lflag |= ECHO | ICANON | ISIG | IEXTEN;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue