Fix scrolling header for --group-by=all.

This commit is contained in:
Daniel Nichter
2012-05-10 14:06:52 -07:00
parent 7fc8a3e989
commit 5a77e8c09c
9 changed files with 43 additions and 437 deletions

View File

@@ -1039,9 +1039,7 @@ sub print_deltas {
$Diskstats::printed_lines--;
}
if ( $self->automatic_headers()
&& $Diskstats::printed_lines <= @stats
&& !$self->isa("DiskstatsGroupByAll") ) {
if ( $self->automatic_headers() && $Diskstats::printed_lines <= @stats ) {
$self->force_print_header( $header, "#ts", "device" );
}
else {