Skip to content

Remove border below titlebar - #242

Merged
lawrencecchen merged 4 commits into
mainfrom
feat-rm-titlebar-border
Feb 21, 2026
Merged

lawrencecchen merged 4 commits into
mainfrom
feat-rm-titlebar-border

Conversation

@lawrencecchen

Copy link
Copy Markdown
Contributor

Summary

  • Remove the 1px separator line overlay at the bottom of the custom titlebar
  • Remove the now-unused fakeTitlebarSeparatorColor computed property

Test plan

  • Verify the titlebar no longer has a visible border/line at the bottom
  • Check appearance with both light and dark terminal themes

Remove the 1px separator line overlay at the bottom of the custom
titlebar and its associated fakeTitlebarSeparatorColor computed property.
@cmux-agent

cmux-agent Bot commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor
Older manaflow preview screenshots (latest comment is below)

Preview Videos and Screenshots

Open Workspace (1 hr expiry) · Open Dev Browser (1 hr expiry) · Open Diff Heatmap

Failed to capture screenshots for commit c03e77b.

Claude Code native binary not found at /root/.bun/bin/claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.


Generated by manaflow preview system

@vercel

vercel Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cmux Ready Ready Preview, Comment Feb 21, 2026 6:05am

@cmux-agent

cmux-agent Bot commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor
Older manaflow preview screenshots (latest comment is below)

Preview Videos and Screenshots

Open Workspace (1 hr expiry) · Open Dev Browser (1 hr expiry) · Open Diff Heatmap

Failed to capture screenshots for commit 0baccd0.

Claude Code native binary not found at /root/.bun/bin/claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.


Generated by manaflow preview system

Update bonsplit submodule to remove the background fill on hovered
non-selected tabs.
@cmux-agent

cmux-agent Bot commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor
Older manaflow preview screenshots (latest comment is below)

Preview Videos and Screenshots

Open Workspace (1 hr expiry) · Open Dev Browser (1 hr expiry) · Open Diff Heatmap

Failed to capture screenshots for commit 3357a3f.

Claude Code native binary not found at /root/.bun/bin/claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.


Generated by manaflow preview system

…tabs, browser theme bg

- Add back 1px bottom border on titlebar using NSColor.separatorColor
  (matches bonsplit tab separator color)
- Tab hover background now applies to all tabs including the selected one
- Browser address bar and under-page background now use Ghostty theme
  background color instead of window background
@cmux-agent

cmux-agent Bot commented Feb 21, 2026 •

Copy link
Copy Markdown
Contributor

Preview Videos and Screenshots

Open Workspace (1 hr expiry) · Open Dev Browser (1 hr expiry) · Open Diff Heatmap

Failed to capture screenshots for commit 4755913.

Claude Code native binary not found at /root/.bun/bin/claude. Please ensure Claude Code is installed via native installer or specify a valid path with options.pathToClaudeCodeExecutable.


Generated by manaflow preview system

@lawrencecchen

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4755913de6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

// Match the empty-page background to the terminal theme so newly-created browsers
// don't flash white before content loads.
webView.underPageBackgroundColor = .windowBackgroundColor
webView.underPageBackgroundColor = GhosttyApp.shared.defaultBackgroundColor

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Refresh WKWebView under-page color on theme updates

GhosttyApp.shared.defaultBackgroundColor is mutable at runtime (it is updated when Ghostty config/background changes), but this assignment snapshots it only once during panel initialization. As a result, already-open browser panels keep the old under-page color after a theme/background change, so blank/loading pages can flash with stale coloring until the panel is recreated. Please hook this to the existing background-change notification path and reapply underPageBackgroundColor.

Useful? React with 👍 / 👎.

Comment thread Sources/ContentView.swift
Comment on lines 942 to 945
.overlay(alignment: .bottom) {
Rectangle()
.fill(fakeTitlebarSeparatorColor)
.fill(Color(nsColor: .separatorColor))
.frame(height: 1)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Remove the titlebar separator instead of recoloring it

This change still renders a 1px rectangle at the bottom of the custom titlebar, so the border remains present in all themes; only its color source changed. If the intent of this commit is to remove the border below the titlebar, the overlay needs to be removed rather than kept with separatorColor.

Useful? React with 👍 / 👎.

@lawrencecchen
lawrencecchen merged commit 685996e into main Feb 21, 2026
5 checks passed
bn-l pushed a commit to bn-l/cmux that referenced this pull request Apr 3, 2026
* Remove border below titlebar

Remove the 1px separator line overlay at the bottom of the custom
titlebar and its associated fakeTitlebarSeparatorColor computed property.

* Remove tab hover background in bonsplit

Update bonsplit submodule to remove the background fill on hovered
non-selected tabs.

* Restore titlebar border with system separator color, hover bg on all tabs, browser theme bg

- Add back 1px bottom border on titlebar using NSColor.separatorColor
  (matches bonsplit tab separator color)
- Tab hover background now applies to all tabs including the selected one
- Browser address bar and under-page background now use Ghostty theme
  background color instead of window background
lawrencecchen added a commit that referenced this pull request Oct 2, 2026
Bump the ghostty submodule from b1a49b601 to 257a40956, the merge of
manaflow-ai/ghostty#252. That PR adds the offscreen embedded platform
(GHOSTTY_PLATFORM_OFFSCREEN = 6, CPU frame and Linux dmabuf callbacks,
app-thread draw) behind -Dembedded-offscreen, so the cross-platform GPUI
and cmux-browser clients can render daemon terminals offscreen on Linux
and Windows from the same fork. The default macOS GhosttyKit build does
not change, and cmux-next does not use the new platform.

feat-cmux-next now tracks fork main (coordinator decision), so the bump
also brings the fork-main merges between the old pin and the #252 base
dcb1d6965: #242 (PTY tee after the parser, under the renderer mutex),
#243, #245, #247, #250 (prompt line and replay fixes), #246, #248, #249
(VT replay blank cells keep the default style) and #251 (config API
window padding, whose fix commit was the old pin).

scripts/ghosttykit-checksums.txt pins the published 257a409 GhosttyKit
archive (build-ghosttykit.yml run 36989929300), which every cmux-next CI
job downloads. docs/ghostty-fork.md documents the offscreen platform, #242 and a map of
every merge in the range, with conflict notes. The cmux main pin's
local-only binding flag (324c02738) is not on fork main; cmux-next does
not use it.

This branch was successfully deployed

1 active deployment
Preview — 4755913d Deployed Feb 21, 2026 by vercel[bot]
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.

1 participant