fix: handle all pyte color formats for Rich compatibility
- Add 'brown' -> 'yellow' mapping (pyte uses 'brown' for ANSI yellow) - Add helper function to convert hex colors (pyte outputs 'ff8700', Rich needs '#ff8700') - Handles 256-color and truecolor (24-bit) ANSI codes properly Bumps version to 0.1.14.
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "textual-webterm"
|
||||
version = "0.1.13"
|
||||
version = "0.1.14"
|
||||
description = "Serve terminal sessions over the web"
|
||||
authors = ["Will McGugan <will@textualize.io>"]
|
||||
license = "MIT"
|
||||
|
||||
Reference in New Issue
Block a user