projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81c91c4
)
Tweak EOutput.term_columns calculation for TERM="dumb" so
author
Zac Medico
<zmedico@gentoo.org>
Tue, 20 Nov 2007 19:59:39 +0000
(19:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 20 Nov 2007 19:59:39 +0000
(19:59 -0000)
that it behaves like TERM="cons25" currently does. Thanks
to Ulrich Mueller <ulm@gentoo.org> for the patch.
(trunk r8468)
svn path=/main/branches/2.1.2/; revision=8548
pym/output.py
patch
|
blob
|
history
diff --git
a/pym/output.py
b/pym/output.py
index f59609ee7f44d9652a97f307db92b5471a8f4211..1e29c5dec576076bd41734152aa2da2968f96422 100644
(file)
--- a/
pym/output.py
+++ b/
pym/output.py
@@
-377,7
+377,7
@@
class EOutput:
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