mirror of
https://github.com/wez/wezterm.git
synced 2024-11-11 03:27:05 +03:00
fix delete
This commit is contained in:
parent
abc06620b8
commit
9737646978
@ -552,6 +552,8 @@ impl TerminalState {
|
||||
// TODO: also respect self.application_keypad
|
||||
|
||||
let to_send = match (key, ctrl, alt, shift, self.application_cursor_keys) {
|
||||
// Delete
|
||||
(Char('\x7f'), ..) => "\x1b[3~",
|
||||
(Char(c), CTRL, _, SHIFT, _) if c <= 0xff as char && c > 0x40 as char => {
|
||||
// If shift is held we have C == 0x43 and want to translate
|
||||
// that into 0x03
|
||||
|
Loading…
Reference in New Issue
Block a user