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
46.89k stars 2.69k forks source link

Terminal `alt-delete` trigger not taking effect in lazygit #11120

Open d1y opened 4 months ago

d1y commented 4 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Open lazygit then commit, trigger alt-delete will not delete a character But in vscode this is normal

/cc @mikayla-maki

Zed:

https://github.com/zed-industries/zed/assets/45585937/71834d74-6c35-4e58-b7ac-bdc8b0359abd

VScode:

https://github.com/zed-industries/zed/assets/45585937/553829df-4721-4003-9e7c-e3a1be78a1aa

Environment

Zed: v0.133.3 (Zed Preview) OS: macOS 14.4.1 Memory: 16 GiB Architecture: aarch64

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

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

d1y commented 4 months ago

FWIW: it seems to work without lazygit

https://github.com/zed-industries/zed/assets/45585937/f00bf894-58af-4de5-a0c7-eed116da273a

d1y commented 4 months ago

I downloaded alacritty and found that it also doesn’t work. I don’t know if this requires configuration?

brew install alacritty

https://github.com/zed-industries/zed/assets/45585937/d47c2038-7fea-4a16-9164-a43d8fb54721

CharlesChen0823 commented 4 months ago

try this alacritty

Leleat commented 2 weeks ago

Maybe related: On Fedora 40 (with GNOME 46) and a bash shell Alt+Del deletes the whole (as expected) but it also inserts elete (i. e. "delete" without the d) for whatever reason... Or is it unrelated and should I open a new issue?