Displaying output from script in a RichLog line by line #3788
-
I have a very simple zsh script called subprocess_script which looks like this:
I am trying to run the script as a subprocess and displaying the output in a Textual RichLog widget. My Textual code is:
What actually happens when you press "Run" is that there is a three second pause before all the output is displayed at once. What I want to happen is for each line to be output one by one with a one second delay between each line being displayed in the RichLog. I can't figure out how to do this when using Textual, I have it working from a non textual python file. Thanks for any assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
#3776 (comment)