소스 검색

* init the default ScreenWidth to 79 columns by default (Closes: #324921)

Michael Vogt 21 년 전
부모
커밋
463870e4b4
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cmdline/apt-get.cc
  2. 2 0
      debian/changelog

+ 1 - 1
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	/*{{{*/
 // ---------------------------------------------------------------------

+ 2 - 0
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)
   
  --