Replies: 2 comments 3 replies
-
I've only seen these suggested in other similar discussions and not tested personally, but you might find this textual-terminal package useful and the Pyte example it is based on. |
Beta Was this translation helpful? Give feedback.
-
Thanks @TomJGooding for these examples. It might come in handy in the future. I came across something similar already when going through textual issues. My situation is a bit different. I want to embed the ipython console in the namespace of the a running Textual app so I cannot fork a new process. I have an almost working solution. If only there was a way to somehow pause the render loop or the timers driving the updates. For now I need to ensure no animation loop or focused input is active but as soon as I do something from the ipython console that changes the state of the app the render loop draws over the ipython console. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
First thanks to the Textual team for this amazing project.
I am trying to display an embedded IPython console from within a textual app namespace. I came up with the following hack which works fine. However I think when there aare timer based updates like cursor blink or a spinner it keeps "leaking" from the render loop into the ipython console.
2023-06-05.22-09-03_instrukt_dev_console.mp4
Is there a clean way to achieve what I want ?
Beta Was this translation helpful? Give feedback.
All reactions