zed icon indicating copy to clipboard operation
zed copied to clipboard

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

Open d1y opened this issue 1 year ago • 3 comments

Check for existing issues

  • [X] Completed

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 avatar Apr 28 '24 08:04 d1y

FWIW: it seems to work without lazygit

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

d1y avatar Apr 28 '24 08:04 d1y

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

d1y avatar Apr 28 '24 09:04 d1y

try this alacritty

CharlesChen0823 avatar Apr 30 '24 06:04 CharlesChen0823

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?

Leleat avatar Aug 24 '24 09:08 Leleat