dvtm

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

commit 20b8e16ffe3737db59cac956b4ea242fcc6bdbbc
parent 29475e5fa61e34d06f1f14573667c03ce147e9d6
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Mon, 11 Feb 2013 13:29:42 +0100

vt: teach RI (reverse index) to respect scrolling region

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 @@ -842,7 +842,7 @@ static void interpret_csi_ind(Vt *t) static void interpret_csi_ri(Vt *t) { Buffer *b = t->buffer; - if (b->curs_row > b->lines) + if (b->curs_row > b->scroll_top) b->curs_row--; else { row_roll(b->scroll_top, b->scroll_bot, -1);