summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 93149123ab4..5b3be8aead3 100644
--- a/usr.bin/less/screen.c
+++ b/usr.bin/less/screen.c
@@ -318,7 +318,7 @@ raw_mode(on)
*/
s = save_term;
}
- tcsetattr(2, TCSADRAIN, &s);
+ tcsetattr(2, TCSANOW, &s);
}
#else
#ifdef TCGETA