Skip to content

Commit 5526c78

Browse files
committed
stty: extend cfg for discipline
1 parent 2fb0d76 commit 5526c78

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎src/uu/stty/src/stty.rs‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -601,11 +601,8 @@ fn print_terminal_size(
601601
);
602602
}
603603

604-
#[cfg(any(target_os = "linux", target_os = "redox"))]
605-
{
606-
let line = termios.line_discipline;
607-
printer.print(&translate!("stty-output-line", "line" => line));
608-
}
604+
#[cfg(any(target_os = "android", target_os = "linux", target_os = "redox"))]
605+
printer.print(&translate!("stty-output-line", "line" => termios.line_discipline));
609606
printer.flush();
610607
}
611608

0 commit comments

Comments
 (0)