DECRC and DECSC apparently need to preserve origin mode as well, based

on a fix from Marc Reisner.
This commit is contained in:
nicm
2019-03-12 20:02:47 +00:00
parent 2796ae81d0
commit 938156d73b
12 changed files with 86 additions and 64 deletions

View File

@ -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