]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/deb/dpkgpm.cc: fix off-by-one in SetupTerminalScrollArea reset
authorMichael Vogt <mvo@debian.org>
Tue, 8 Oct 2013 19:48:14 +0000 (21:48 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 8 Oct 2013 19:48:14 +0000 (21:48 +0200)
apt-pkg/deb/dpkgpm.cc

index 7d8c9b4e054aa9163ef59ca129a51725601d6c49..b4d812d26f80baed5b10408382b1b2218bc9ee8c 100644 (file)
@@ -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)