dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 2dd02507e7e4c2fa4c8778d24ce151a641582d62
parent 74b6b27cc2d9bdaf3c0674e3c99fc26337721fd4
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 17 Feb 2015 22:39:03 +0100

Use default value for CHA, HPA, VPA sequences without a parameter

Diffstat:
vt.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vt.c b/vt.c @@ -782,10 +782,10 @@ static void interpret_csi_c(Vt *t, char verb, int param[], int pcount) break; case 'G': case '`': - b->curs_col = param[0] - 1; + b->curs_col = n - 1; break; case 'd': - b->curs_row = b->lines + param[0] - 1; + b->curs_row = b->lines + n - 1; break; }