diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-11-27 20:08:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-11-27 20:08:42 +0000 |
commit | 24d7d073fffbf5137176ef474f13f4cfe1f032e9 (patch) | |
tree | 64d3a0b5d4edfba4b811a0bb2a9a9383e3f23543 /input.c | |
parent | 9b8998aeec9c4dff695ae4108965677d90d9c9c7 (diff) | |
download | rtmux-24d7d073fffbf5137176ef474f13f4cfe1f032e9.tar.gz rtmux-24d7d073fffbf5137176ef474f13f4cfe1f032e9.tar.bz2 rtmux-24d7d073fffbf5137176ef474f13f4cfe1f032e9.zip |
Support the 47 and 1047 SM and RM sequences (alternate screen without
cursor), requested by I forget who ages ago.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1255,8 +1255,12 @@ input_csi_dispatch(struct input_ctx *ictx) case 1005: screen_write_utf8mousemode(&ictx->ctx, 0); break; + case 47: + case 1047: + window_pane_alternate_off(wp, &ictx->cell, 0); + break; case 1049: - window_pane_alternate_off(wp, &ictx->cell); + window_pane_alternate_off(wp, &ictx->cell, 1); break; case 2004: screen_write_bracketpaste(&ictx->ctx, 0); @@ -1310,8 +1314,12 @@ input_csi_dispatch(struct input_ctx *ictx) case 1005: screen_write_utf8mousemode(&ictx->ctx, 1); break; + case 47: + case 1047: + window_pane_alternate_on(wp, &ictx->cell, 0); + break; case 1049: - window_pane_alternate_on(wp, &ictx->cell); + window_pane_alternate_on(wp, &ictx->cell, 1); break; case 2004: screen_write_bracketpaste(&ictx->ctx, 1); |