Skip to content

Commit 362901c

Browse files
fix(tui): allow for TUI use when hooked up to tty (#8942)
### Description #8919 accidentally disabled TUI usage when hooked up to a TTY ### Testing Instructions Verify that you can now use the TUI if hooked up to TTY: https://github.com/user-attachments/assets/1ae1d7db-4714-4abe-a1e6-13b4e564d006
1 parent 1f0ccdd commit 362901c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/turborepo-lib/src/config.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ impl ConfigurationOptions {
277277
}
278278

279279
pub fn ui(&self) -> UIMode {
280-
if atty::is(atty::Stream::Stdout) {
280+
// If we aren't hooked up to a TTY, then do not use TUI
281+
if !atty::is(atty::Stream::Stdout) {
281282
return UIMode::Stream;
282283
}
283284

0 commit comments

Comments
 (0)