~ fixed shift release

This commit is contained in:
Julian Hinxlage 2019-12-18 14:05:03 +01:00
parent 06bd6013a5
commit 94e7b913e1
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ int main() {
vkvm::registerEvent(vkvm::KeyUp, [&terminal]() {
vkvm::KeyCode keycode = vkvm::getLastPressedKey();
if(((vkvm::KeyCode::ShiftLeft & 0xfff) == keycode) ||((vkvm::KeyCode::ShiftRight & 0xfff) == keycode)){
if(((vkvm::KeyCode::ShiftLeft) == keycode) ||((vkvm::KeyCode::ShiftRight) == keycode)){
terminal.shiftup();
}
// char ch = keycode - (vkvm::KeyCode::A & 0xfff) + 'A';