dvtm

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

commit 2dd5388efa1a7f6a3e55ba04b5180f5ab62e20db
parent dc701934bccb955ca6e80a7ccf2605f80ca6c1dc
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Sat, 21 Jul 2012 21:59:55 +0200

vt: fix typo/thinko in ECH interpretation

Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>

Diffstat:
vt.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vt.c b/vt.c @@ -627,7 +627,7 @@ static void interpret_csi_ECH(Vt *t, int param[], int pcount) { int n = (pcount && param[0] > 0) ? param[0] : 1; - if (t->curs_col + n < t->cols) + if (t->curs_col + n > t->cols) n = t->cols - t->curs_col; row_set(t->curs_row, t->curs_col, n, t);