fix(tui): preserve footer truncation after merge

This commit is contained in:
Tianyi Cui
2026-07-21 23:47:14 +08:00
parent 53615c91e7
commit f8008b571d
3 changed files with 4 additions and 6 deletions
+2 -2
View File
@@ -511,10 +511,10 @@ describe('pi-tui chat lifecycle and transcript', () => {
await dispose(outsideResult)
const logicalResult = await setup({
cwd: '/host/worktree',
cwd: '/w',
formatCwd: cwd => `logical:${cwd}\x1b`,
})
expect(logicalResult.terminal.output).toContain('logical:/host/worktree\\x1b')
expect(logicalResult.terminal.output).toContain('logical:/w\\x1b')
await dispose(logicalResult)
})