mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-24 11:01:54 +00:00
fix shift-enter
This commit is contained in:
parent
0588360bf0
commit
4779eebdce
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ pub fn to_esc_str(keystroke: &Keystroke, mode: &TermMode) -> Option<String> {
|
|||
("tab", Modifiers::None) => Some("\x09".to_string()),
|
||||
("escape", Modifiers::None) => Some("\x1b".to_string()),
|
||||
("enter", Modifiers::None) => Some("\x0d".to_string()),
|
||||
("enter", Modifiers::Shift) => Some("\x0d".to_string()),
|
||||
("backspace", Modifiers::None) => Some("\x7f".to_string()),
|
||||
//Interesting escape codes
|
||||
("tab", Modifiers::Shift) => Some("\x1b[Z".to_string()),
|
||||
|
|
Loading…
Reference in a new issue