Shorten the scheduler status display in the xterm title by removing all
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Aug 2008 00:43:06 +0000 (00:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Aug 2008 00:43:06 +0000 (00:43 -0000)
consecutive spaces.

svn path=/main/trunk/; revision=11345

pym/_emerge/__init__.py

index b72f964a4e7ed3f4f64d1b9b3585e3986c288fd8..35ac098ab79208fb025aeaf27c90e16fcd99078d 100644 (file)
@@ -8741,7 +8741,7 @@ class JobStatusDisplay(object):
                f.add_literal_data(load_avg_str)
 
                self._update(color_output.getvalue())
-               xtermTitle(plain_output.getvalue())
+               xtermTitle(" ".join(plain_output.getvalue().split()))
 
 class Scheduler(PollScheduler):