Revision: 359
Author: mbaas
Date: 2006-07-28 00:59:18 -0700 (Fri, 28 Jul 2006)
ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=359&view=rev
Log Message:
-----------
Don't use the full terminal width for the output as this can lead to word wraps into the next line when a line uses the full width.
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/_logging_/multi_line_formatter.py
Modified: pyplusplus_dev/pyplusplus/_logging_/multi_line_formatter.py
===================================================================
--- pyplusplus_dev/pyplusplus/_logging_/multi_line_formatter.py 2006-07-27 19:12:11 UTC (rev 358)
+++ pyplusplus_dev/pyplusplus/_logging_/multi_line_formatter.py 2006-07-28 07:59:18 UTC (rev 359)
@@ -27,6 +27,9 @@
import curses
curses.setupterm()
self._width = curses.tigetnum('cols')
+ # Leave a border of two blanks to prevent that full lines
+ # wrap to the next line
+ self._width -= 2
except:
self._width = 70 # default to 70
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|