]> git.saurik.com Git - apt.git/commitdiff
fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()
authorMichael Vogt <mvo@debian.org>
Mon, 7 Oct 2013 11:46:30 +0000 (13:46 +0200)
committerMichael Vogt <mvo@debian.org>
Mon, 7 Oct 2013 11:46:30 +0000 (13:46 +0200)
apt-pkg/deb/dpkgpm.cc

index a116db9cfa31f8a4184cca952fb7364c7f7603f5..7d8c9b4e054aa9163ef59ca129a51725601d6c49 100644 (file)
@@ -963,7 +963,7 @@ void pkgDPkgPM::SetupTerminalScrollArea(int nr_rows)
 
      // scroll down a bit to avoid visual glitch when the screen
      // area shrinks by one row
-     std::cout << "\n\n";
+     std::cout << "\n";
          
      // save cursor
      std::cout << "\033[s";