| 8468 | Tweak EOutput.term_columns calculation for TERM="dumb" so |
| zmedico | that it behaves like TERM="cons25" currently does. Thanks to |
| | Ulrich Mueller <ulm@gentoo.org> for the patch. |
svn path=/main/branches/prefix/; revision=8470
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