Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small visual improvement

  • Loading branch information...
commit 2009a0307e65793289fe127dd41a83337dd4946c 1 parent ca24fb2
@dagwieers authored
Showing with 5 additions and 2 deletions.
  1. +1 −0  ChangeLog
  2. +4 −2 dstat
View
1  ChangeLog
@@ -1,6 +1,7 @@
* 0.6.3svn - ... - released 14/10/2006
- Fixed dstat_clock to use localtime() instead of gmtime()
- Added external plugin dstat_vz for openvz cpu statistics
+- Removed the underscoring of the counter titles
* 0.6.3 - Amsterdam - released 26/06/2006
- Changed default (silver) color of delimiter to gray
View
6 dstat
@@ -320,14 +320,16 @@ class dstat:
if isinstance(self.name, types.StringType):
ret = ''
for i, nick in enumerate(self.nick):
- ret = ret + nick.center(self.format[1]).replace(' ', '_')
+# ret = ret + nick.center(self.format[1]).replace(' ', '_')
+ ret = ret + nick.center(self.format[1])
if i + 1 != len(self.nick): ret = ret + char['space']
return ansi['blue'] + ret
else:
ret = ''
for i, name in enumerate(self.name):
for j, nick in enumerate(self.nick):
- ret = ret + ansi['blue'] + nick.center(self.format[1]).replace(' ', '_')
+# ret = ret + ansi['blue'] + nick.center(self.format[1]).replace(' ', '_')
+ ret = ret + ansi['blue'] + nick.center(self.format[1])
if j + 1 != len(self.nick): ret = ret + char['space']
if i + 1 != len(self.name): ret = ret + ansi['gray'] + char['colon']
return ansi['blue'] + ret

0 comments on commit 2009a03

Please sign in to comment.
Something went wrong with that request. Please try again.