diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-07-14 22:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-07-14 22:01:10 +0100 |
commit | 715f39a53a93394ab5d697228c7a41661357948b (patch) | |
tree | 5e39de798f15f1e60cea53ddfb19466a93a95c18 | |
parent | 828efc7bcf721049c85f108a9cebe798079cbd06 (diff) | |
parent | 2f74e811f12a3d5d2e61789dbd184a23849e8cce (diff) |
Merge branch 'obsd-master'
-rw-r--r-- | screen-write.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c index 8a440052..d7c196e1 100644 --- a/screen-write.c +++ b/screen-write.c @@ -326,7 +326,9 @@ screen_write_reset(struct screen_write_ctx *ctx) screen_reset_tabs(s); screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1); - s->mode = MODE_CURSOR | MODE_WRAP; + s->mode = MODE_CURSOR|MODE_WRAP; + if (options_get_number(global_options, "extended-keys") == 2) + s->mode |= MODE_KEXTENDED; screen_write_clearscreen(ctx, 8); screen_write_set_cursor(ctx, 0, 0); |