fix(app): terminal corruption
This commit is contained in:
@@ -155,8 +155,9 @@ function createTerminalSession(sdk: ReturnType<typeof useSDK>, dir: string, sess
|
|||||||
|
|
||||||
batch(() => {
|
batch(() => {
|
||||||
setStore("all", index, {
|
setStore("all", index, {
|
||||||
...pty,
|
id: clone.data.id,
|
||||||
...clone.data,
|
title: clone.data.title ?? pty.title,
|
||||||
|
titleNumber: pty.titleNumber,
|
||||||
})
|
})
|
||||||
if (active) {
|
if (active) {
|
||||||
setStore("active", clone.data.id)
|
setStore("active", clone.data.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user