We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
serve
isatty
1 parent 23f1c77 commit e309adbCopy full SHA for e309adb
src/commands/serve.rs
@@ -840,10 +840,10 @@ impl wasmtime_wasi::p2::StdoutStream for LogStream {
840
fn stream(&self) -> Box<dyn wasmtime_wasi::p2::OutputStream> {
841
Box::new(self.clone())
842
}
843
+}
844
- fn isatty(&self) -> bool {
845
- use std::io::IsTerminal;
846
-
+impl wasmtime_wasi::cli::IsTerminal for LogStream {
+ fn is_terminal(&self) -> bool {
847
match &self.output {
848
Output::Stdout => std::io::stdout().is_terminal(),
849
Output::Stderr => std::io::stderr().is_terminal(),
0 commit comments