resolved RESOLVED UNSUBMITTED PASS · None tool calls · 0 s · Textualize/rich
proxy isatty Fixes https://github.com/Textualize/rich/issues/4041
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||
--- a/rich/file_proxy.py
+++ b/rich/file_proxy.py
@@ -55,3 +55,6 @@ def flush(self) -> None:
def fileno(self) -> int:
return self.__file.fileno()
+
+ def isatty(self) -> bool:
+ return self.__file.isatty().... [100%] 4 passed in 0.06s