# Fix off by 1 error when computing available key bindings \(\#3964\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6982b4b42eb5437e92e093c79cb89bd74aa5eb03

Requested commit: 6982b4b42eb5437e92e093c79cb89bd74aa5eb03

Commit: 6982b4b42eb5437e92e093c79cb89bd74aa5eb03

Tree: 05318e28d6d836201fa3a8efc0ff8f09bfe04a86

Author: Mikayla Maki

Committer: GitHub

## Message

```
Fix off by 1 error when computing available key bindings (#3964)

Fixes https://github.com/zed-industries/community/issues/2379

Release Notes:

- Fixed issue where keybindings in some context menus would not show
reliably.
```

## Parents

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

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

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