From 77fdc2a4de43144432ef9e74058634e94e45ef65 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Tue, 8 Oct 2013 21:48:14 +0200 Subject: apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset --- apt-pkg/deb/dpkgpm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 7d8c9b4e0..b4d812d26 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -1511,7 +1511,7 @@ bool pkgDPkgPM::Go(int OutStatusFd) signal(SIGHUP,old_SIGHUP); // reset scroll area - SetupTerminalScrollArea(d->nr_terminal_rows); + SetupTerminalScrollArea(d->nr_terminal_rows + 1); if(d->fancy_progress_output) { // override the progress line (sledgehammer) -- cgit v1.2.3