Less cluttered display. Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- kvm/kvm_stat | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kvm/kvm_stat b/kvm/kvm_stat index 4a16277..d373c60 100755 --- a/kvm/kvm_stat +++ b/kvm/kvm_stat @@ -315,6 +315,8 @@ def tui(screen, stats): if row >= screen.getmaxyx()[0]: break values = s[key] + if not values[0] and not values[1]: + break col = 1 screen.addstr(row, col, key) col += label_width -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html