summaryrefslogtreecommitdiffstats
path: root/window-client.c
diff options
context:
space:
mode:
authornicm <nicm>2019-03-12 20:02:47 +0000
committernicm <nicm>2019-03-12 20:02:47 +0000
commit938156d73b0cc0692c727ac9a94bf65b235cfe40 (patch)
treecc73e2a98d40d99822e59e639542c973aa2aa77c /window-client.c
parent2796ae81d0be04df161cffdf447c2d0e5ec895e2 (diff)
DECRC and DECSC apparently need to preserve origin mode as well, based
on a fix from Marc Reisner.
Diffstat (limited to 'window-client.c')
-rw-r--r--window-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window-client.c b/window-client.c
index f0c81cf0..f86d8676 100644
--- a/window-client.c
+++ b/window-client.c
@@ -225,10 +225,10 @@ window_client_draw(__unused void *modedata, void *itemdata,
screen_write_preview(ctx, &wp->base, sx, sy - 3);
- screen_write_cursormove(ctx, cx, cy + sy - 2);
+ screen_write_cursormove(ctx, cx, cy + sy - 2, 0);
screen_write_hline(ctx, sx, 0, 0);
- screen_write_cursormove(ctx, cx, cy + sy - 1);
+ screen_write_cursormove(ctx, cx, cy + sy - 1, 0);
if (c->status.old_status != NULL)
screen_write_fast_copy(ctx, c->status.old_status, 0, 0, sx, 1);
else