Replies: 4 comments 5 replies
-
I have almost zero experience with Docker so can't directly help with this, but it might be useful if you could run |
Beta Was this translation helpful? Give feedback.
-
Could you try running the command: I'm wondering if you need to set the |
Beta Was this translation helpful? Give feedback.
-
I have been debugging this problem with a minimal scenario here With all the base images I used (python3.10, python3.10-alpine, and "fastapi 3.8" -the one I use in my app, based on python3.8-) and in all cases the textual behaves fine, with no flickering and correct mouse events. Maybe it is a resource problem when more services are started with compose? |
Beta Was this translation helpful? Give feedback.
-
Hello! Sorry to necro an old discussion, but I may have the answer! tl;dr You have to pass I made a Docker container of a textual app I wrote, and figured out how to fix this: My app (sbommage) is used to load an SBOM (Software Bill of Materials) and display it in a tree-like format using Textualize. For example, if I do not specify
Note in the screenshot, it's only taking up a portion of the screen: ![]() Adding
![]() However, if we also add
![]() |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing my first Textual app . I'm borrowing some code from the "demo" app adapting it to my needs. It's going quite well (and I'm enjoying the experience), but my app must run inside a docker container, as part of a complex service orchestrated by
docker-compose
and I've encountered some problems. Here I'm going to show them with the Textual demo app (python -m textual
)The first one, which I managed to get around, is that in order to make the app look really nice, I had to set
COLORTERM: truecolor
as an environment variable to the container, since it originally looked like this:However, once I got over that one I still had these:
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions