Skip to content

Commit

Permalink
slabtop: separate header and slab list
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Apr 16, 2024
1 parent 5457361 commit faca8fe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uu/slabtop/src/slabtop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
to_kb(slabinfo.object_maximum())
);

// separate header info and slab list
println!();

Check warning on line 63 in src/uu/slabtop/src/slabtop.rs

View check run for this annotation

Codecov / codecov/patch

src/uu/slabtop/src/slabtop.rs#L63

Added line #L63 was not covered by tests

// TODO: TUI Implementation
let title = format!(
"{:>6} {:>6} {:>4} {:>8} {:>6} {:>8} {:>10} {:<}",
Expand Down

0 comments on commit faca8fe

Please sign in to comment.