Skip to content

Add utility title bar and restore editing shortcuts - #1

Draft
w-ade wants to merge 1 commit into
mainfrom
cursor/fix-keyboard-shortcuts-d1d3
Draft

Add utility title bar and restore editing shortcuts#1
w-ade wants to merge 1 commit into
mainfrom
cursor/fix-keyboard-shortcuts-d1d3

Conversation

@w-ade

@w-ade w-ade commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • Switch Visto from a borderless custom chrome window to a standard macOS utility panel (NSPanel + .utilityWindow) with the system title bar and traffic lights.
  • Remove the hand-rolled close/minimize/zoom buttons from the address strip; keep URL field + reload below the title bar.
  • Keep first-responder handling on the web view so Delete / Command-C/V work in page inputs and the address field.

Why

Borderless windows do not become key by default, which blocked normal editing keys. A utility title bar also matches the compact chrome expected from small Mac tool apps.

Test plan

  • Build and launch with ./script/build_and_run.sh
  • Confirm the window shows a utility-style title bar with traffic lights and “Visto”
  • Click the address field: Delete, Command-C, Command-V, typing all work
  • Focus a text input in a loaded page and verify the same shortcuts
  • Command-W closes; File > New Window still works
Open in Web Open in Cursor 

Replace the borderless custom traffic-light chrome with an NSPanel
utility window so Delete and Command-C/V reach editable fields, and
keep the address bar plus reload control in the content strip below.

Co-authored-by: wade <wade@hellowade.dev>
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