fix: use pyte terminal emulator for screenshot rendering
Replaces simple carriage return handling with pyte terminal emulator to properly interpret all ANSI escape sequences including cursor positioning. This fixes the tmux status bar 'creeping up' issue in screenshots. Adds pyte dependency to pyproject.toml. Resolves TODO item #2.
This commit is contained in:
@@ -21,6 +21,7 @@ importlib-metadata = ">=6.0.0"
|
||||
httpx = ">=0.27.0"
|
||||
tomli = { version = "^2.0.1", python = "<3.11" }
|
||||
pyyaml = "^6.0.0"
|
||||
pyte = "^0.8.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^8.0.0"
|
||||
|
||||
Reference in New Issue
Block a user