summaryrefslogtreecommitdiff
path: root/bin/ksh/edit.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-01-08 20:25:06 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-01-08 20:25:06 +0000
commit6a5d0cf1c0a39abcf664e579d4844baf976be409 (patch)
tree62ba360b692423222dd434b61fddf954a08a17bf /bin/ksh/edit.c
parent289d0caa4f5c6d3215a1ea49d80b71667099fd78 (diff)
bug fixes from pdksh-unstable-5.2.13.5; some of which we already had.
Diffstat (limited to 'bin/ksh/edit.c')
-rw-r--r--bin/ksh/edit.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ksh/edit.c b/bin/ksh/edit.c
index c0d3af2a38e..5112e077bd6 100644
--- a/bin/ksh/edit.c
+++ b/bin/ksh/edit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: edit.c,v 1.7 1998/06/25 19:01:50 millert Exp $ */
+/* $OpenBSD: edit.c,v 1.8 1999/01/08 20:24:58 millert Exp $ */
/*
* Command line editing - common code
@@ -292,9 +292,10 @@ x_mode(onoff)
x_emacs_keys(&edchars);
#endif
}
- } else
+ } else {
/* TF_WAIT doesn't seem to be necessary when leaving xmode */
set_tty(tty_fd, &tty_state, TF_NONE);
+ }
return prev;
}