1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-13 07:22:52 +03:00

window: macos: rewrite Del to Backspace

this is more appropriate for vim
This commit is contained in:
Wez Furlong 2019-10-27 16:33:48 -07:00
parent 91b56abb3a
commit fd8738ea0e

View File

@ -626,6 +626,8 @@ impl WindowView {
'\u{f72b}' => KeyCode::End,
'\u{f72c}' => KeyCode::PageUp,
'\u{f72d}' => KeyCode::PageDown,
// rewrite Del to Backspace
'\u{7f}' => KeyCode::Char('\u{8}'),
_ => KeyCode::Char(first_char),
}
} else {