window: macos: rewrite Del to Backspace

this is more appropriate for vim
This commit is contained in:
Wez Furlong committed 2019-10-27 16:33:48 -07:00
1 parent 91b56abb3a
commit fd8738ea0e
1 file changed
+2
+2
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 {