fix delete on macos

This commit is contained in:
Wez Furlong committed 2019-02-18 03:04:48 -08:00
1 parent 1252eaf153
commit 9c9261f332
1 file changed
+1
+1
View File
@@ -729,6 +729,7 @@ impl TerminalState {
(Backspace, ..) => "\x08",
(Escape, ..) => "\x1b",
// Delete
(Char('\x7f'), _, _, _, false) | (Delete, _, _, _, false) => "\x7f",
(Char('\x7f'), ..) | (Delete, ..) => "\x1b[3~",
(Insert, _, _, SHIFT, _) | (Char('v'), ..) if mods == KeyModifiers::SUPER => {
let clip = host.get_clipboard()?;