# Better key-rendering for linux/windows \(\#25139\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ddec72ecbe72d892707ef7a1930762bd512b3cfb

Requested commit: ddec72ecbe72d892707ef7a1930762bd512b3cfb

Commit: ddec72ecbe72d892707ef7a1930762bd512b3cfb

Tree: 1ff73042c7ef3f5067d83018449663501d766f51

Author: Conrad Irwin

Committer: GitHub

## Message

```
Better key-rendering for linux/windows (#25139)

Release Notes:

- linux: Render keystrokes more consistently

Before (note the added extra vertical padding, the + instead of the -,
and the misalignment between the text and the icons)

<img width="354" alt="Screenshot 2025-02-18 at 23 17 57"
src="https://github.com/user-attachments/assets/924cf08f-8204-4503-8052-abaa7686e644"
/>

After (note the lack of those things):

<img width="322" alt="Screenshot 2025-02-18 at 23 15 48"
src="https://github.com/user-attachments/assets/5b20a6f2-757b-44d2-a888-f495523b688d"
/>


I still think we might want to go "vim-mode" always, because the capital
letters are pretty noisy, but that does mean the letters don't match
what's on the keyboard (though they *do* match the keyboard config
files)

<img width="312" alt="Screenshot 2025-02-18 at 23 16 59"
src="https://github.com/user-attachments/assets/cf6f150c-20bc-4492-adb9-fb5c5bdce351"
/>
```

## Parents

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

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