From faca8fe096c4e3f1271ce0b992900ef6bffc3249 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Tue, 16 Apr 2024 16:50:08 +0200 Subject: [PATCH] slabtop: separate header and slab list --- src/uu/slabtop/src/slabtop.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uu/slabtop/src/slabtop.rs b/src/uu/slabtop/src/slabtop.rs index ebe04f9..ce87c3f 100644 --- a/src/uu/slabtop/src/slabtop.rs +++ b/src/uu/slabtop/src/slabtop.rs @@ -59,6 +59,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> { to_kb(slabinfo.object_maximum()) ); + // separate header info and slab list + println!(); + // TODO: TUI Implementation let title = format!( "{:>6} {:>6} {:>4} {:>8} {:>6} {:>8} {:>10} {:<}",