Skip to content

Commit

Permalink
Fix Key::isPrintable() (especially enter/tabulation are not printab…
Browse files Browse the repository at this point in the history
…le).
  • Loading branch information
Jarod42 committed Aug 3, 2024
1 parent 1942330 commit 76e682c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/key.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace gcn

bool Key::isPrintable() const
{
return 0 < mValue && mValue < 1000;
return 32 <= mValue && mValue < 1000;
}

int Key::getValue() const
Expand Down

0 comments on commit 76e682c

Please sign in to comment.