]> git.saurik.com Git - apt.git/commitdiff
* init the default ScreenWidth to 79 columns by default (Closes: #324921)
authorMichael Vogt <michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 19:41:09 +0000 (19:41 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Wed, 19 Oct 2005 19:41:09 +0000 (19:41 +0000)
cmdline/apt-get.cc
debian/changelog

index 6e17611cb213f9e01bf02d3946ea22bf8550e590..3475d79aed757f9f1dfd71e5ff344c982c22e46d 100644 (file)
@@ -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   /*{{{*/
 // ---------------------------------------------------------------------
index 1aaae9ef3a264540922e88e29024a226abcd56ff..e9f47e2d18741d6254b806e8bcb866012436f57f 100644 (file)
@@ -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)
   
  --