Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Restore accidental change (#50543)

Conrad Irwin67b375cc1e38
diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs
index fa07355d69e..e93bd92d041 100644
--- a/crates/zed/src/main.rs
+++ b/crates/zed/src/main.rs
@@ -276,7 +276,7 @@ fn main() {
zlog::init();
- if true {
+ if stdout_is_a_pty() {
zlog::init_output_stdout();
} else {
let result = zlog::init_output_file(paths::log_file(), Some(paths::old_log_file()));