summaryrefslogtreecommitdiff
path: root/cmdline
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 /cmdline
parentc20f67f082cdb11251c7af6786e5195d4cac3733 (diff)
* init the default ScreenWidth to 79 columns by default (Closes: #324921)
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-get.cc2
1 files changed, 1 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 /*{{{*/
// ---------------------------------------------------------------------