Ignore non-printable characters
Fixes #5 Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
7ea10c0b92
commit
fe8ea81dc2
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ protected:
|
|||
|
||||
bool onCharacterInput(const CharacterInputEvent& ev) override
|
||||
{
|
||||
if (ev.character == 0)
|
||||
if (ev.character <= ' ' || ev.character >= kKeyDelete)
|
||||
return false;
|
||||
|
||||
const ScopedContext sc(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue