diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-18 15:57:46 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-02-18 15:57:46 +0000 |
commit | a6c4c2cca0d44e0cec9d4a0cc041290a263826fb (patch) | |
tree | 33e6619d1b334efc814370b3d5e156709c9023bc /input.c | |
parent | ba3b8ccc1d994ec535721d71b400c3e78ee5ec25 (diff) |
Implement DECAWM (SM/RM 7) using existing MODE_WRAP flag.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1248,6 +1248,9 @@ input_csi_dispatch(struct input_ctx *ictx) screen_write_cursormove(&ictx->ctx, 0, 0); screen_write_clearscreen(&ictx->ctx); break; + case 7: /* DECAWM */ + screen_write_mode_clear(&ictx->ctx, MODE_WRAP); + break; case 25: /* TCEM */ screen_write_mode_clear(&ictx->ctx, MODE_CURSOR); break; @@ -1305,6 +1308,9 @@ input_csi_dispatch(struct input_ctx *ictx) screen_write_cursormove(&ictx->ctx, 0, 0); screen_write_clearscreen(&ictx->ctx); break; + case 7: /* DECAWM */ + screen_write_mode_set(&ictx->ctx, MODE_WRAP); + break; case 25: /* TCEM */ screen_write_mode_set(&ictx->ctx, MODE_CURSOR); break; |