Browse Source

fix off-by-one error in pkgDPkgPM::SetupTerminalScrollArea()

debian/1.8.y
Michael Vogt 9 years ago
parent
commit
28e3b6f6f8
  1. 2
      apt-pkg/deb/dpkgpm.cc

2
apt-pkg/deb/dpkgpm.cc

@ -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";

Loading…
Cancel
Save