diff options
| author | adamelmore <[email protected]> | 2026-01-27 16:51:41 -0600 |
|---|---|---|
| committer | adamelmore <[email protected]> | 2026-01-27 16:51:57 -0600 |
| commit | df7f9ae3f41a70eac865451942c1410f6c4281d8 (patch) | |
| tree | 75bb0e45541ed17bfa4c53e7c031236951416db1 /packages/app/src/context | |
| parent | d17ba84ee1e55093ff33f0ac512cbb00030c21e7 (diff) | |
| download | opencode-df7f9ae3f41a70eac865451942c1410f6c4281d8.tar.gz opencode-df7f9ae3f41a70eac865451942c1410f6c4281d8.zip | |
fix(app): terminal corruption
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/terminal.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/app/src/context/terminal.tsx b/packages/app/src/context/terminal.tsx index 439b196c6..e01b8bc4d 100644 --- a/packages/app/src/context/terminal.tsx +++ b/packages/app/src/context/terminal.tsx @@ -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) |
