mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 11:02:44 +00:00
Move terminal descriptor flush before stty to eliminate potential problems
whith characters conversion changed like \n -> \r\n and so on.
This commit is contained in:
parent
94375988c6
commit
5af16a0159
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63946
@ -438,8 +438,8 @@ el_gets(el, nread)
|
||||
}
|
||||
}
|
||||
|
||||
(void) tty_cookedmode(el); /* make sure the tty is set up correctly */
|
||||
term__flush(); /* flush any buffered output */
|
||||
(void) tty_cookedmode(el); /* make sure the tty is set up correctly */
|
||||
if (el->el_flags & HANDLE_SIGNALS)
|
||||
sig_clr(el);
|
||||
if (nread)
|
||||
|
Loading…
Reference in New Issue
Block a user