diff --git a/lapce-app/src/terminal/data.rs b/lapce-app/src/terminal/data.rs index 5e49b0c322..9a254e408f 100644 --- a/lapce-app/src/terminal/data.rs +++ b/lapce-app/src/terminal/data.rs @@ -563,6 +563,15 @@ impl TerminalData { _ => return None, }; + Some(str) + } else if key.modifiers == Modifiers::ALT { + let str = match c.as_str() { + "," => "\x1b\x2c", + "." => "\x1b\x2e", + "/" => "\x1b\x2f", + "\\" => "\x1b\x5c", + _ => return None, + }; Some(str) } else { None