mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit c6917f3744769fe9feb8a9087d93b224b2b3871d parent b4d27a646cc790ecfe02787c88e4275435fe8a47 Author: Rob King <jking@deadpixi.com> Date: Fri, 3 Mar 2017 22:00:02 -0600 Fix DCH. Diffstat:
| M | tmt.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tmt.c b/tmt.c @@ -180,12 +180,12 @@ HANDLER(ich) HANDLER(dch) size_t n = P1(0); /* XXX use MAX */ - if (n > s->ncol - c->c) n = s->ncol - c->c; + if (n > s->ncol - c->c) n = s->ncol - c->c + 1; memmove(l->chars + c->c, l->chars + c->c + n, (s->ncol - c->c - n) * sizeof(TMTCHAR)); - clearline(vt, l, s->ncol - c->c - n, s->ncol); + clearline(vt, l, c->c, n - 1); } HANDLER(el)
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.