Skip to content

fix(ui): handle cmd-w window close - #102

Merged
harryisfish merged 1 commit into
mainfrom
fix/macos-cmd-w-close
Oct 4, 2026
Merged

harryisfish merged 1 commit into
mainfrom
fix/macos-cmd-w-close

Conversation

@harryisfish

Copy link
Copy Markdown
Contributor

变更

  • 注册 GPUI CloseWindow action 并绑定 macOS cmd-w。
  • 增加 Window → Close Window 菜单项。
  • 关闭活动窗口后保留菜单栏程序运行,行为与点击红色关闭按钮一致。

验证

  • cargo check --bin myproxy 通过。
  • git diff --check 通过。

cargo fmt --check 仍会报告仓库现有多个文件未按当前 rustfmt 版本格式化,本 PR 未格式化范围外文件。

@harryisfish
harryisfish merged commit ea9d05f into main Oct 4, 2026
1 check passed
@harryisfish
harryisfish deleted the fix/macos-cmd-w-close branch October 4, 2026 05:12
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