You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that every print to capture adds previously printed content + new content.
I also wonder if the captured content should even go to the recording because it won't even go to console unless specifically printed there after capturing has been stopped.
Though, as it seems that captured content cannot be printed with console.print() (control codes seems to becomes visible) so by using regular python print() would not put it in the recording either.
(Line print(capture.get()) replaced with console.print(capture.get()))
Platform
Click to expand
Same with Win/Linux platforms.
Windows terminal: Cmd prompt, Windows Terminal.
Linux Terminal: Putty
Using Rich version 12.6.0
The text was updated successfully, but these errors were encountered:
Describe the bug
The following code:
Produces following output:
It seems that every print to capture adds previously printed content + new content.
I also wonder if the captured content should even go to the recording because it won't even go to console unless specifically printed there after capturing has been stopped.
Though, as it seems that captured content cannot be printed with
console.print()
(control codes seems to becomes visible) so by using regular python print() would not put it in the recording either.(Line
print(capture.get())
replaced withconsole.print(capture.get())
)Platform
Click to expand
Same with Win/Linux platforms.
Windows terminal: Cmd prompt, Windows Terminal.
Linux Terminal: Putty
Using Rich version 12.6.0
The text was updated successfully, but these errors were encountered: