fix: use pyte+Rich hybrid for colored SVG screenshots

Screenshots now properly preserve terminal colors:
1. Replay buffer provides raw ANSI data with color codes
2. pyte interprets escape sequences for accurate screen state
3. Rich renders the pyte buffer with colors to SVG

This gives us both accurate terminal state (no creeping/wrapping)
and proper color preservation in screenshots.

Bumps version to 0.1.12.
This commit is contained in:
GitHub Copilot
2026-01-24 10:37:54 +00:00
parent 8ef48bdb86
commit f9196da9f8
3 changed files with 57 additions and 13 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual-webterm"
version = "0.1.11"
version = "0.1.12"
description = "Serve terminal sessions over the web"
authors = ["Will McGugan <will@textualize.io>"]
license = "MIT"