feat(ui): display branch name in terminal header with git icon

- Move branch name display from tab name to terminal header
- Show full branch name (no truncation) with GitBranch icon
- Display branch name for both 'new tab' and 'split' modes
- Persist openTerminalMode setting to server and include in import/export
- Update settings dropdown to simplified "New Tab" label
This commit is contained in:
Stefan de Vogelaere
2026-01-17 20:43:23 +01:00
parent ce4b9b6a14
commit 502361fc7c
7 changed files with 53 additions and 18 deletions

View File

@@ -475,6 +475,10 @@ export interface GlobalSettings {
/** Terminal font family (undefined = use default Menlo/Monaco) */
terminalFontFamily?: string;
// Terminal Configuration
/** How to open terminals from "Open in Terminal" worktree action */
openTerminalMode?: 'newTab' | 'split';
// UI State Preferences
/** Whether sidebar is currently open */
sidebarOpen: boolean;