]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.cc
fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()
[apt.git] / 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";