From 938156d73b0cc0692c727ac9a94bf65b235cfe40 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 12 Mar 2019 20:02:47 +0000 Subject: DECRC and DECSC apparently need to preserve origin mode as well, based on a fix from Marc Reisner. --- window-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-client.c') 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 -- cgit