mirror of
https://github.com/wez/wezterm.git
synced 2024-12-25 22:33:52 +03:00
add a couple of missing IME operations -> KeyCode
This commit is contained in:
parent
819faa3f85
commit
ea25055d42
@ -604,7 +604,9 @@ impl WindowView {
|
|||||||
eprintln!("do_command_by_selector: {:?}", selector);
|
eprintln!("do_command_by_selector: {:?}", selector);
|
||||||
let key = match selector.as_ref() {
|
let key = match selector.as_ref() {
|
||||||
"deleteBackward:" => KeyCode::Char('\x08'),
|
"deleteBackward:" => KeyCode::Char('\x08'),
|
||||||
|
"cancelOperation:" => KeyCode::Char('\x1b'),
|
||||||
"insertNewline:" => KeyCode::Char('\n'),
|
"insertNewline:" => KeyCode::Char('\n'),
|
||||||
|
"insertTab:" => KeyCode::Char('\t'),
|
||||||
"moveLeft:" => KeyCode::LeftArrow,
|
"moveLeft:" => KeyCode::LeftArrow,
|
||||||
"moveRight:" => KeyCode::RightArrow,
|
"moveRight:" => KeyCode::RightArrow,
|
||||||
"moveUp:" => KeyCode::UpArrow,
|
"moveUp:" => KeyCode::UpArrow,
|
||||||
|
Loading…
Reference in New Issue
Block a user