merge #130: drag-release bounce, session-delete terminal cleanup, silent resize (chalei1122-cell)

# Conflicts:
#	src/client/Sidebar.tsx
This commit is contained in:
HuanLinOTO
2026-08-24 01:33:44 +08:00
3 changed files with 17 additions and 4 deletions
+6
View File
@@ -243,6 +243,12 @@ export class PtyManager {
}
}
/** Close every terminal of one session (the conversation was deleted —
* terminals must follow the session, not linger until the grace expires). */
closeSession(sessionId: string): void {
for (const key of this.keysOf(sessionId)) this.close(key)
}
/** Close every terminal (plugin teardown). */
disposeAll(): void {
for (const timer of this.pendingCloses.values()) clearTimeout(timer)