summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-09-22 07:01:31 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-09-22 07:01:31 +0000
commite7d20d5fb38eb2d769d5c204709a08fc419ffd93 (patch)
treef530ad845eaf18943bbc5b36bc75c746774c89a3
parent161b998c0d77d0ceb5e862c03ac1948cd3da37b1 (diff)
No broken push/pop for Theo's less -ewm.
-rw-r--r--usr.bin/less/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/screen.c b/usr.bin/less/screen.c
index 8340dd408a9..93149123ab4 100644
--- a/usr.bin/less/screen.c
+++ b/usr.bin/less/screen.c
@@ -763,7 +763,7 @@ get_term()
* that switch to/from an alternate screen, and we're in quit_at_eof
* (eg, more(1)).
*/
- if (!quit_at_eof && !more_mode) {
+ if (!more_mode) {
sc_init = tgetstr("ti", &sp);
sc_deinit = tgetstr("te", &sp);
}