Only first part of renderable displayed? #123
Unanswered
The-Compiler
asked this question in
Q&A
Replies: 1 comment
-
hi @The-Compiler! did anything come of this? I'm looking to do something similar, but with paw-lu/nbpreview (which is extremely similar to Jut). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! I'm trying to use Textual for the first time, with the aim of integrating jut (which already uses Rich) to display both Jupyter files and associated test results.
Unfortunately, jut doesn't directly provide a Rich renderable, but I wrote a small adapter class which does so. Using Rich directly prints the output as expected:
However, when trying to integrate it with Textual in a scrolling view, only the panes from the first Jupyter cell are displayed - after that I just get an empty scroll view:
Here's my code:
(Note: If you want to reproduce it, you'll need to fight with pip a bit, as unfortunately
jut
declares an older Rich version in it'spyproject.toml
which is incompatible with Textual - but the newest Rich version works just fine.)Am I doing something obvious wrong there, or is this a bug? If it's the latter, I might try to get a more minimal reproducer.
Beta Was this translation helpful? Give feedback.
All reactions