mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
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: Stefan Raspl <raspl@linux.vnet.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
5725393764
commit
f6d753102a
@ -982,7 +982,8 @@ class Tui(object):
|
||||
regex = regex[:MAX_REGEX_LEN] + '...'
|
||||
self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex))
|
||||
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.refresh()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user