# Refactor \`KeybindingKeystroke\` \(\#37065\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ff03dda90ae6c5d3c9aedc8768431456cfe9de7d

Requested commit: ff03dda90ae6c5d3c9aedc8768431456cfe9de7d

Commit: ff03dda90ae6c5d3c9aedc8768431456cfe9de7d

Tree: e5daedddd67445bdc64bc766ec4fc6269aad92a0

Author: 张小白

Committer: GitHub

## Message

```
Refactor `KeybindingKeystroke` (#37065)

This pull request refactors the `KeybindingKeystroke` struct and related
code to improve platform abstraction. The changes centralize
platform-specific logic within `KeybindingKeystroke` and update its
usage throughout the codebase, making the API more consistent and less
error-prone.



Release Notes:

- N/A
```

## Parents

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

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