zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.62k stars 3.04k forks source link

Cannot type curly brackets to the terminal on a Finnish keyboard layout #15964

Closed esamattis closed 3 weeks ago

esamattis commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

On Finnish keyboard layout curly brackets are typed using shift+option+8/9. It works on the text editor but not on the terminal. See the video.

Environment

Zed: v0.147.2 (Zed) OS: macOS 13.6.7 Memory: 32 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

https://github.com/user-attachments/assets/297f226d-37b1-4c15-8cd1-5289a3cde8fd

If applicable, attach your Zed.log file to this issue.

Zed.log


villem commented 3 months ago

Me too, also with Finnish keyboard. Is there any workaround?

rooperuu commented 3 months ago

This also affects other symbols like $ and | that are used frequently in the terminal. Looks like the problem is caused by https://github.com/zed-industries/zed/pull/15535. As a workaround, set terminal.option_as_meta back to false.

atlekberg commented 2 months ago

I can confirm that this is also an issue for MacOS with Norwegian keyboard layout.

ville-nroc commented 2 months ago

The workaround for me is to put this in config.json

"terminal": {
    "option_as_meta": false
  },
esamattis commented 2 months ago

"option_as_meta": false workaround works for me, thanks @ville-nroc!

elevesque-nexapp commented 2 months ago

This is affecting me as well using the bépo layout. Option is used for multiple characters I use very frequently in the terminal like &, ~, \, |, { and }.

jimmycallin commented 1 month ago

also happens for swedish keyboard layouts

htor commented 1 month ago

This issue can be closed