Skip to content

Commit 189a8b7

Browse files
committed
Update create_output signature
1 parent ad1a312 commit 189a8b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/prompt_toolkit/output/defaults.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def create_output(
6161
# If the patch_stdout context manager has been used, then sys.stdout is
6262
# replaced by this proxy. For prompt_toolkit applications, we want to use
6363
# the real stdout.
64+
from prompt_toolkit.patch_stdout import StdoutProxy
65+
6466
while isinstance(stdout, StdoutProxy):
6567
stdout = stdout.original_stdout
6668

0 commit comments

Comments
 (0)