Skip to content

Commit c9861a1

Browse files
Merge pull request #377 from cakebaker/w_fix_column_widths
w: fix column widths
2 parents 46c2a0a + ceb5213 commit c9861a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/uu/w/src/w.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
204204
println!("{:<9}{:<9}{:<7}{:<}", "USER", "TTY", "IDLE", "WHAT");
205205
} else {
206206
println!(
207-
"{:<9}{:<9}{:<9}{:<6} {:<7}{:<5}{:<}",
207+
"{:<9}{:<10}{:<9}{:<6} {:<7}{:<6}{:<}",
208208
"USER", "TTY", "LOGIN@", "IDLE", "JCPU", "PCPU", "WHAT"
209209
);
210210
}
@@ -220,7 +220,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
220220
);
221221
} else {
222222
println!(
223-
"{:<9}{:<9}{:<9}{:<6} {:<7}{:<5}{:<}",
223+
"{:<9}{:<10}{:<9}{:<6} {:<7}{:<6}{:<}",
224224
user.user,
225225
user.terminal,
226226
user.login_time,

0 commit comments

Comments
 (0)