add a couple of missing IME operations -> KeyCode
This commit is contained in:
1 parent
819faa3f85
commit
ea25055d42
1 file changed
+2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user