Skip handling unknown keys

This commit is contained in:
Vincent Ollivier 2020-07-12 09:58:11 +02:00
parent c91d7a95cf
commit e61db9e935
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ fn interrupt_handler() {
DecodedKey::RawKey(KeyCode::ArrowUp) => '↑', // U+2191
DecodedKey::RawKey(KeyCode::ArrowRight) => '→', // U+2192
DecodedKey::RawKey(KeyCode::ArrowDown) => '↓', // U+2193
DecodedKey::RawKey(_) => '\0'
DecodedKey::RawKey(_) => { return; }
};
kernel::console::key_handle(c);
}