soto: catch full ansi layout keys

Adds "Insert", "Delete", "PageUp" and other function keys to the ignored
keys array of soto.
This commit is contained in:
Matilde Park 2019-11-25 23:11:23 -05:00
parent c07aeb54bf
commit 198a3afdd3
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,8 @@ export class Input extends Component {
let ignoredKeys = ["Meta", "Alt", "Control", "Escape", "Shift",
"F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8",
"F9", "F10", "F11", "F12", "Backspace"
"F9", "F10", "F11", "F12", "Backspace",
"Delete", "Insert", "Home", "PageUp", "PageDown", "End"
];
// submit on enter