diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-03-13 07:34:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-03-13 07:34:37 +0000 |
commit | a3aeaa865f12e018d08632aa5e7b510b1d7ecd1b (patch) | |
tree | 60f581d54ed5ab655076152d91444e90baa65944 /usr.bin/tmux | |
parent | d780240ddcbac06f50ce29b5d2ffd5f0f8531870 (diff) |
Do not use origin for VPA.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/input.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 43cceb043d0..66620b7691a 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.146 2019/03/12 20:02:47 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.147 2019/03/13 07:34:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |