Commit 2da9d4aa authored by Stefan Raspl's avatar Stefan Raspl Committed by Paolo Bonzini

tools/kvm_stat: remove unnecessary header redraws

Certain interactive commands will not modify any information displayed in
the header, hence we can skip them.
Signed-off-by: default avatarStefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 81468d73
......@@ -1140,7 +1140,6 @@ class Tui(object):
try:
char = self.screen.getkey()
if char == 'x':
self.refresh_header()
self.update_drilldown()
if char == 'q':
break
......@@ -1158,7 +1157,6 @@ class Tui(object):
self.show_vm_selection_by_pid()
sleeptime = DELAY_INITIAL
if char == 'r':
self.refresh_header()
self.stats.reset()
except KeyboardInterrupt:
break
......
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