projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26fc1bc
)
Tweak EOutput.term_columns calculation for TERM="dumb" so
author
Zac Medico
<zmedico@gentoo.org>
Thu, 8 Nov 2007 22:36:32 +0000
(22:36 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 8 Nov 2007 22:36:32 +0000
(22:36 -0000)
that it behaves like TERM="cons25" currently does. Thanks
to Ulrich Mueller <ulm@gentoo.org> for the patch.
svn path=/main/trunk/; revision=8468
pym/portage/output.py
patch
|
blob
|
history
diff --git
a/pym/portage/output.py
b/pym/portage/output.py
index ff3e27171c06f44a8ec2543757223449453bbf24..9eae2ee87bb9e3a3ae92bc1ec5ed9b30da728063 100644
(file)
--- a/
pym/portage/output.py
+++ b/
pym/portage/output.py
@@
-382,7
+382,7
@@
class EOutput(object):
if columns <= 0:
columns = 80
# Adjust columns so that eend works properly on a standard BSD console.
- if os.environ.get("TERM")
== "cons25"
:
+ if os.environ.get("TERM")
in ("cons25", "dumb")
:
columns = columns - 1
self.term_columns = columns