Text with ANSI escape codes provokes glitches in a Log widget #3507
superlevure
started this conversation in
General
Replies: 1 comment 1 reply
-
As a rule, you can't use raw escape sequences in Textual. But you can convert these to something Textual can work with by calling IIRC the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When writing text that contains ANSI escape codes to a
Log
widget, the border glitches:I've posted a minimal reproducible example here: https://github.com/superlevure/textual-scroll-bug
For context, the data I'm trying to write to a
Log
widget comes from a Gitlab CI job trace, as produced by this API: https://docs.gitlab.com/ee/api/jobs.html#get-a-log-fileTextual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options
Beta Was this translation helpful? Give feedback.
All reactions