Skip to content

Commit f6d7531

Browse files
Stefan Rasplbonzini
authored andcommitted
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 <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 5725393 commit f6d7531

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/kvm/kvm_stat/kvm_stat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,8 @@ class Tui(object):
982982
regex = regex[:MAX_REGEX_LEN] + '...'
983983
self.screen.addstr(1, 17, 'regex filter: {0}'.format(regex))
984984
self.screen.addstr(2, 1, '%-40s %10s%7s %7s' %
985-
('Event', 'Total', '%Total', 'Current'))
985+
('Event', 'Total', '%Total', 'Current'),
986+
curses.A_STANDOUT)
986987
self.screen.addstr(4, 1, 'Collecting data...')
987988
self.screen.refresh()
988989

0 commit comments

Comments
 (0)