Skip to content

Commit f43014b

Browse files
committed
Fix original_stdout function
1 parent c9c4459 commit f43014b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prompt_toolkit/patch_stdout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def flush(self) -> None:
274274

275275
@property
276276
def original_stdout(self) -> TextIO | None:
277-
return None # self._output.stdout or sys.__stdout__
277+
return self._output.stdout or sys.__stdout__
278278

279279
# Attributes for compatibility with sys.__stdout__:
280280

0 commit comments

Comments
 (0)