提交 f6d75310 编写于 作者: S Stefan Raspl 提交者: 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: NStefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 57253937
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册