We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e90022 commit a206b3eCopy full SHA for a206b3e
cmd2/cmd2.py
@@ -414,7 +414,9 @@ def __init__(
414
else:
415
self.stdin = sys.stdin
416
417
- # What to use for standard output
+ # Standard output stream. The interactive UI remains attached to this initial
418
+ # stream even when self.stdout is temporarily swapped during command output
419
+ # redirection.
420
if stdout is not None:
421
self.stdout = stdout
422
0 commit comments