summaryrefslogtreecommitdiffstats
path: root/screen.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-04-01 14:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2022-04-01 14:01:11 +0100
commitb0ff446727b0955dc3084d44b273497a74a85fe4 (patch)
tree80c7fcd9f0848b333c79c1e0557f0558b2ce0f0c /screen.c
parent87b248f3e86f7157baf69e5d9d458d1f2b4ceb7b (diff)
parent65c0af76fbe06bdf89431575a88ba22ea5b88d90 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 7046e098..62cf4765 100644
--- a/screen.c
+++ b/screen.c
@@ -103,7 +103,7 @@ screen_reinit(struct screen *s)
s->rupper = 0;
s->rlower = screen_size_y(s) - 1;
- s->mode = MODE_CURSOR|MODE_WRAP;
+ s->mode = MODE_CURSOR|MODE_WRAP|(s->mode & MODE_CRLF);
if (options_get_number(global_options, "extended-keys") == 2)
s->mode |= MODE_KEXTENDED;