fix(tui): synchronize shared session clients

This commit is contained in:
Xubin Ren
2026-08-17 20:56:10 +08:00
parent 2f78f7fbc5
commit 9e47d8106c
25 changed files with 803 additions and 101 deletions
+2 -1
View File
@@ -17,7 +17,7 @@ describe("QueuePreview", () => {
accent: "#EF8E30",
muted: "#A1A1AA",
faint: "#71717A",
})
}, "darwin")
setup.renderer.root.add(preview.root)
preview.update(["first\nline", "second", "third", "fourth"])
@@ -25,6 +25,7 @@ describe("QueuePreview", () => {
const frame = setup.captureCharFrame()
expect(frame).toContain("Queued next 4")
expect(frame).toContain("⌥↑ edit last")
expect(frame).not.toContain("first line")
expect(frame).toContain("↳ second")
expect(frame).toContain("↳ fourth")