fix(app): terminal corruption

pull/10914/head
adamelmore 2026-01-27 16:51:41 -06:00
parent d17ba84ee1
commit df7f9ae3f4
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75
1 changed files with 3 additions and 2 deletions

View File

@ -155,8 +155,9 @@ function createTerminalSession(sdk: ReturnType<typeof useSDK>, dir: string, sess
batch(() => {
setStore("all", index, {
...pty,
...clone.data,
id: clone.data.id,
title: clone.data.title ?? pty.title,
titleNumber: pty.titleNumber,
})
if (active) {
setStore("active", clone.data.id)