Skip to content

feat: show workspace name on each terminal header - #389

Open
Ziinc wants to merge 2 commits into
mainfrom
cursor/terminal-header-workspace-label-8c88
Open

feat: show workspace name on each terminal header#389
Ziinc wants to merge 2 commits into
mainfrom
cursor/terminal-header-workspace-label-8c88

Conversation

@Ziinc

@Ziinc Ziinc commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

The terminal pane no longer groups sessions under a workspace bar. Each terminal header is now [icon] [short title] [workspace name], with the workspace name rendered as a compact Label. Clicking the label still navigates to that workspace.
Also flattens resize so adjacent terminals (any workspace) share the same row.

Open in Web Open in Cursor 

cursoragent and others added 2 commits August 30, 2026 16:48
Flatten the terminal pane into a single row and put the workspace name
on every terminal header as a compact Label next to the short title.

Co-authored-by: ty <ty@tzeyiing.com>
isMainRepo: boolean;
}

export function resolveTerminalWorkspace(

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaces buildWorkspaceGroups. Shell terminals still inherit a name from workspaceBranchByPath or a matching agent session; main-repo sessions use currentBranch instead of the old “Main Repository” string so the header matches the sidebar.

style={{ backgroundColor: "#1e1e1e" }}
>
{workspaceGroups.map((group, groupIndex) => {
{terminals.map(({ terminal, workspace }, index) => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flattened on purpose: workspace grouping used a second header bar that duplicated the branch name. Terminals keep creation order in one row now; workspace identity lives on each panel header via TerminalWorkspaceLabel. Clicking the label still navigates.

@Ziinc
Ziinc marked this pull request as ready for review August 30, 2026 16:56
@cursor cursor Bot changed the title Show workspace name on each terminal header feat: show workspace name on each terminal header Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants