ui: Mirror option key in keybindings (#3065)
Piotr Osiewicz
created


Release Notes:
- Fixed option key's appearance in keybindings
Change summary
crates/command_palette/src/command_palette.rs | 2 +-
crates/gpui/src/keymap_matcher/keystroke.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Detailed changes
@@ -265,7 +265,7 @@ impl PickerDelegate for CommandPaletteDelegate {
.with_children(
[
(keystroke.ctrl, "^"),
- (keystroke.alt, "⎇"),
+ (keystroke.alt, "⌥"),
(keystroke.cmd, "⌘"),
(keystroke.shift, "⇧"),
]
@@ -112,7 +112,7 @@ impl std::fmt::Display for Keystroke {
f.write_char('^')?;
}
if self.alt {
- f.write_char('⎇')?;
+ f.write_char('⌥')?;
}
if self.cmd {
f.write_char('⌘')?;