From b5957e5732937be980d990bea8925da1c3ff0a21 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 10 Oct 2000 10:50:14 +0000 Subject: [PATCH] Scroll regions of two lines are allowed [originally from svn r700] --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal.c b/terminal.c index 8a1d68d3..a14fb9dc 100644 --- a/terminal.c +++ b/terminal.c @@ -1253,7 +1253,7 @@ static int beep_overload = 0; /* VTTEST Bug 9 - if region is less than 2 lines * don't change region. */ - if (bot-top > 1) { + if (bot-top > 0) { marg_t = top; marg_b = bot; curs_x = 0;