Fix bad colors in TUI output - part 2 (#2782)

pygments emits a sequence resetting both the foreground and background color at the same time using one sequence `\x1b[39;49m`.

Refs #2654 #2764
pull/2784/head
peace-maker 9 months ago committed by GitHub
parent 20db9470cc
commit f9a3760665
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -202,6 +202,7 @@ class ContextTUIWindow:
)
.replace("\x1b[39m", "\x1b[0m")
.replace("\x1b[49m", "\x1b[0m")
.replace("\x1b[39;49m", "\x1b[0m")
)

Loading…
Cancel
Save