aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-13 08:02:35 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-13 08:02:35 +0000
commit0e6eda02a6f8f8973b1bd21d6d712c81cdcf542f (patch)
treecc3de7f1fb54821185b228dbdd6b44e60f8a941f
parentb03f58b977002b2f033da48b46602aa7ce3192ee (diff)
parentfeaa5660a3151d11bdc9da4b280b293f107061da (diff)
downloadrtmux-0e6eda02a6f8f8973b1bd21d6d712c81cdcf542f.tar.gz
rtmux-0e6eda02a6f8f8973b1bd21d6d712c81cdcf542f.tar.bz2
rtmux-0e6eda02a6f8f8973b1bd21d6d712c81cdcf542f.zip
Merge branch 'obsd-master'
-rw-r--r--input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input.c b/input.c
index 57a45a92..99174cd6 100644
--- a/input.c
+++ b/input.c
@@ -1471,7 +1471,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, 1);
+ screen_write_cursormove(sctx, n - 1, -1, 0);
break;
case INPUT_CSI_ICH:
n = input_get(ictx, 0, 1, 1);
@@ -1540,7 +1540,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, 1);
+ screen_write_cursormove(sctx, -1, n - 1, 0);
break;
case INPUT_CSI_DECSCUSR:
n = input_get(ictx, 0, 0, 0);