Skip to content

Commit

Permalink
allow return to fire typeAction for keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Jun 4, 2020
1 parent 69429c6 commit 3faf3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/EKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ bool EKeyboard::listenForPhysicalKeys(InputEvents* e)
just_type(' ');
return true;
}
if (keyCode == SDLK_RETURN) {
if (keyCode == SDLK_RETURN && typeAction == NULL) {
just_type('\n');
return true;
}
Expand Down

0 comments on commit 3faf3e9

Please sign in to comment.