Fix styled switch-back repaint

This commit is contained in:
2026-05-14 17:20:23 +01:00
parent d5ee50fa65
commit 36e738b5c6
12 changed files with 423 additions and 62 deletions

View File

@@ -45,6 +45,12 @@ type Emulator interface {
// frame" for newly-attached clients.
SerializeVT() ([]byte, error)
// StyledScreenVT returns the active screen's visible cell grid as VT
// bytes with SGR styling and child-space cursor movement, but without
// terminal modes, scroll regions, tabstops, or formatter cursor side
// effects.
StyledScreenVT() ([]byte, error)
// Cursor returns cursor position and visibility on the active screen.
Cursor() (CursorState, error)