* Add missing space button handler to the text input box.

This commit is contained in:
iProgramInCpp
2023-07-31 11:10:51 +03:00
parent 1a75690f52
commit 4393ef9679
2 changed files with 4 additions and 0 deletions

View File

@@ -77,6 +77,9 @@ void TextInputBox::keyPressed(Minecraft* minecraft, int key)
case AKEYCODE_ARROW_RIGHT:
chr = '\003';
break;
case AKEYCODE_SPACE:
chr = ' ';
break;
case AKEYCODE_COMMA:
chr = bShiftPressed ? '<' : ',';
break;