kill: print signals vertically

This commit is contained in:
Haisham 2024-04-07 21:42:06 +05:00 committed by Ben Wiederhake
parent a75b8a0f67
commit 6e4c9119fb

View file

@ -161,7 +161,7 @@ fn print_signal(signal_name_or_value: &str) -> UResult<()> {
fn print_signals() { fn print_signals() {
for (idx, signal) in ALL_SIGNALS.iter().enumerate() { for (idx, signal) in ALL_SIGNALS.iter().enumerate() {
if idx > 0 { if idx > 0 {
print!(" "); println!();
} }
print!("{signal}"); print!("{signal}");
} }