dvtm

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

commit 274281aa33702ea2b902d7d91575d15ab4333384
parent db3486ef755954be29f2f440221f4133bc802ec0
Author: Ross Mohn <rpmohn@waxandwane.org>
Date:   Mon, 18 Apr 2011 12:59:05 +0200

madtty: fix a scrolling issue

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

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

diff --git a/madtty.c b/madtty.c @@ -464,7 +464,7 @@ static void interpret_csi_CUP(madtty_t *t, int param[], int pcount) { if (pcount == 0) { /* special case */ - t->curs_row = t->lines; + t->curs_row = (t->relposmode ? t->scroll_top : t->lines); t->curs_col = 0; } else if (pcount == 1) { t->curs_row = (t->relposmode ? t->scroll_top : t->lines) + param[0] - 1;