Commit f6d75310 authored by Stefan Raspl's avatar Stefan Raspl Committed by Paolo Bonzini

tools/kvm_stat: make heading look a bit more like 'top'

Print header in standout font just like the 'top' command does.
Signed-off-by: default avatarStefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 57253937
...@@ -982,7 +982,8 @@ class Tui(object): ...@@ -982,7 +982,8 @@ class Tui(object):
regex = regex[:MAX_REGEX_LEN] + '...' regex = regex[:MAX_REGEX_LEN] + '...'
self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex)) self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex))
self.screen.addstr(2, 1, '%-40s %10s%7s %7s' % self.screen.addstr(2, 1, '%-40s %10s%7s %7s' %
('Event', 'Total', '%Total', 'Current')) ('Event', 'Total', '%Total', 'Current'),
curses.A_STANDOUT)
self.screen.addstr(4, 1, 'Collecting data...') self.screen.addstr(4, 1, 'Collecting data...')
self.screen.refresh() self.screen.refresh()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment