# gpui: Flash menu in menubar on macOS when action is triggered \(\#38588\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ed7bd5a8ed6cbda563c4e6f1acb66e13f545718b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ed7bd5a8ed6cbda563c4e6f1acb66e13f545718b

Requested commit: ed7bd5a8ed6cbda563c4e6f1acb66e13f545718b

Commit: ed7bd5a8ed6cbda563c4e6f1acb66e13f545718b

Tree: a62d99f2f5e65db5842b5eae0fd356742f249b05

Author: Victor Tran

Committer: GitHub

## Message

```
gpui: Flash menu in menubar on macOS when action is triggered (#38588)

On macOS, traditionally when a keyboard shortcut is activated, the menu
in the menu bar flashes to indicate that the action was recognised.

<img width="289" height="172" alt="image"
src="https://github.com/user-attachments/assets/a03ecd2f-f159-4f82-b4fd-227f34393703"
/>

This PR adds this functionality to GPUI, where when a keybind is pressed
that triggers an action in the menu, the menu flashes.

Release Notes:

- N/A
```

## Parents

- [8ebe4fa149c2b8ba71cef5c059c672aee1416293](https://git.cafe/gitcafe/zed/commit/8ebe4fa149c2b8ba71cef5c059c672aee1416293?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ed7bd5a8ed6cbda563c4e6f1acb66e13f545718b?format=markdown)
