summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-10-19 19:41:09 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-10-19 19:41:09 +0000
commit463870e4b43bd9bd15652010fdcdedb717d0aa7e (patch)
treec2cfa476f06a2c2d95f91d4a4b7d3ef813ef4321
parentc20f67f082cdb11251c7af6786e5195d4cac3733 (diff)
* init the default ScreenWidth to 79 columns by default (Closes: #324921)
-rw-r--r--cmdline/apt-get.cc2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 6e17611cb..3475d79ae 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -66,7 +66,7 @@ ostream c0out(0);
ostream c1out(0);
ostream c2out(0);
ofstream devnull("/dev/null");
-unsigned int ScreenWidth = 80;
+unsigned int ScreenWidth = 80 - 1; /* - 1 for the cursor */
// class CacheFile - Cover class for some dependency cache functions /*{{{*/
// ---------------------------------------------------------------------
diff --git a/debian/changelog b/debian/changelog
index 1aaae9ef3..e9f47e2d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ apt (0.6.41.1) unstable; urgency=low
* apt-pkg/contrib/md5.cc:
- fix a alignment problem on sparc64 that gives random bus errors
(thanks to Fabbione for providing a test-case)
+ * init the default ScreenWidth to 79 columns by default
+ (Closes: #324921)
--