mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 02:37:21 +00:00
terminal: Fix Alacritty key bindings (#11782)
Close #10502 Release Notes: - Fixed `ctrl-space` not being forwarded correctly in the terminal view. ([#10502](https://github.com/zed-industries/zed/issues/10502))
This commit is contained in:
parent
ec65035659
commit
0a096bf531
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ pub fn to_esc_str(keystroke: &Keystroke, mode: &TermMode, alt_is_meta: bool) ->
|
|||
("tab", AlacModifiers::Shift) => Some("\x1b[Z".to_string()),
|
||||
("backspace", AlacModifiers::Alt) => Some("\x1b\x7f".to_string()),
|
||||
("backspace", AlacModifiers::Shift) => Some("\x7f".to_string()),
|
||||
("space", AlacModifiers::Ctrl) => Some("\x00".to_string()),
|
||||
("home", AlacModifiers::Shift) if mode.contains(TermMode::ALT_SCREEN) => {
|
||||
Some("\x1b[1;2H".to_string())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue