diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-12 10:02:39 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-12 10:02:39 +0000 |
commit | 95d340cc4f3e6f03fc3ab5302c52e8b31636cc81 (patch) | |
tree | 47f57d5e16871537e58461a1bc154593f67dcb26 /input.c | |
parent | bc72cf2f52ea7e07e58213b98fd6c4ff287274b3 (diff) | |
parent | ff4c80d53df96bb46eaa64107673e42d402f0d49 (diff) | |
download | rtmux-95d340cc4f3e6f03fc3ab5302c52e8b31636cc81.tar.gz rtmux-95d340cc4f3e6f03fc3ab5302c52e8b31636cc81.tar.bz2 rtmux-95d340cc4f3e6f03fc3ab5302c52e8b31636cc81.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1572,6 +1572,10 @@ input_csi_dispatch_rm_private(struct input_ctx *ictx) screen_write_clearscreen(&ictx->ctx, ictx->cell.cell.bg); break; + case 6: /* DECOM */ + screen_write_mode_clear(&ictx->ctx, MODE_ORIGIN); + screen_write_cursormove(&ictx->ctx, 0, 0); + break; case 7: /* DECAWM */ screen_write_mode_clear(&ictx->ctx, MODE_WRAP); break; @@ -1655,6 +1659,10 @@ input_csi_dispatch_sm_private(struct input_ctx *ictx) screen_write_clearscreen(&ictx->ctx, ictx->cell.cell.bg); break; + case 6: /* DECOM */ + screen_write_mode_set(&ictx->ctx, MODE_ORIGIN); + screen_write_cursormove(&ictx->ctx, 0, 0); + break; case 7: /* DECAWM */ screen_write_mode_set(&ictx->ctx, MODE_WRAP); break; |