diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-14 08:02:37 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-14 08:02:37 +0000 |
commit | f33d2ab29ec62fc6c918f5927b9b680dc54fc3c6 (patch) | |
tree | 7b1857291caed12c08228943d361d30fed5be674 /input.c | |
parent | 81b393a4931037e604975682a2706f4447f06475 (diff) | |
parent | 1e9f8a3523ac93203036bd4a3740674a91fc4f1c (diff) | |
download | rtmux-f33d2ab29ec62fc6c918f5927b9b680dc54fc3c6.tar.gz rtmux-f33d2ab29ec62fc6c918f5927b9b680dc54fc3c6.tar.bz2 rtmux-f33d2ab29ec62fc6c918f5927b9b680dc54fc3c6.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -272,6 +272,7 @@ static const struct input_table_entry input_csi_table[] = { { 'S', "", INPUT_CSI_SU }, { 'X', "", INPUT_CSI_ECH }, { 'Z', "", INPUT_CSI_CBT }, + { '`', "", INPUT_CSI_HPA }, { 'b', "", INPUT_CSI_REP }, { 'c', "", INPUT_CSI_DA }, { 'c', ">", INPUT_CSI_DA_TWO }, @@ -1471,7 +1472,7 @@ input_csi_dispatch(struct input_ctx *ictx) case INPUT_CSI_HPA: n = input_get(ictx, 0, 1, 1); if (n != -1) - screen_write_cursormove(sctx, n - 1, -1, 0); + screen_write_cursormove(sctx, n - 1, -1, 1); break; case INPUT_CSI_ICH: n = input_get(ictx, 0, 1, 1); @@ -1540,7 +1541,7 @@ input_csi_dispatch(struct input_ctx *ictx) case INPUT_CSI_VPA: n = input_get(ictx, 0, 1, 1); if (n != -1) - screen_write_cursormove(sctx, -1, n - 1, 0); + screen_write_cursormove(sctx, -1, n - 1, 1); break; case INPUT_CSI_DECSCUSR: n = input_get(ictx, 0, 0, 0); |