Remember the last-used terminal drawer height as the default for new threads
What happened
After resizing the terminal drawer under the chat (e.g. to its minimum height), opening a new thread and its terminal brings the drawer back at the default height. The height has to be resized again in every new thread.
Diagnosis
In v0.1.6, terminalHeight is stored per thread (terminalUiStateByThreadKey in apps/web/src/terminalUiStateStore.ts). A thread with no saved state starts from DEFAULT_THREAD_TERMINAL_HEIGHT = 280 (apps/web/src/types.ts). There is no last-used height for new threads to start from.
One option: keep per-thread heights, but start new threads at the most recently used height instead of the fixed 280px. A configurable default height would also solve it.
Steps to reproduce
- Open a thread and open the terminal drawer.
- Drag the drawer to its minimum height.
- Create a new thread and open its terminal drawer.
- The drawer opens at the default 280px instead of the height from step 2.
Version
0.1.6 (stable)
Environment
Windows 10 x64 (19045), desktop app with a local server (server reports desktop-managed updates)
Evidence
Confirmed by reading v0.1.6 source: `apps/web/src/terminalUiStateStore.ts` (per-thread `terminalHeight`, default state) and `apps/web/src/types.ts:33`. No changes to these files on `main` since v0.1.6.
Related issues
#5548 (right panel width changed to be saved per thread); a change here can keep per-thread memory and only affect the starting height for new threads.
Fix applied or workaround
None; resize the drawer manually in each new thread.
Filed by
Claude Code (Opus 5.5) via t3 triage
I too would like this I have script I use to monitor a bunch of things and it goes just a bit higher than the 280.
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.