diff options
author | ache <ache@FreeBSD.org> | 2000-07-27 23:58:35 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2000-07-27 23:58:35 +0000 |
commit | 027e13ee4007f82ac5ac167cb7b0ef641550dcf8 (patch) | |
tree | 121f42b4f5b596cc983b3cee119c33bb67de2e05 /lib/libedit | |
parent | 63e54fc518e481c76879238994c61832c0d8cfc3 (diff) | |
download | FreeBSD-src-027e13ee4007f82ac5ac167cb7b0ef641550dcf8.zip FreeBSD-src-027e13ee4007f82ac5ac167cb7b0ef641550dcf8.tar.gz |
Move terminal descriptor flush before stty to eliminate potential problems
whith characters conversion changed like \n -> \r\n and so on.
Diffstat (limited to 'lib/libedit')
-rw-r--r-- | lib/libedit/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c index 2db1942..8193431 100644 --- a/lib/libedit/read.c +++ b/lib/libedit/read.c @@ -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) |