1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-20 11:17:15 +03:00

add a couple of missing IME operations -> KeyCode

This commit is contained in:
Wez Furlong 2019-11-03 11:49:50 -08:00
parent 819faa3f85
commit ea25055d42

View File

@ -604,7 +604,9 @@ impl WindowView {
eprintln!("do_command_by_selector: {:?}", selector);
let key = match selector.as_ref() {
"deleteBackward:" => KeyCode::Char('\x08'),
"cancelOperation:" => KeyCode::Char('\x1b'),
"insertNewline:" => KeyCode::Char('\n'),
"insertTab:" => KeyCode::Char('\t'),
"moveLeft:" => KeyCode::LeftArrow,
"moveRight:" => KeyCode::RightArrow,
"moveUp:" => KeyCode::UpArrow,