1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Attempts to improve SDL key merging.

This commit is contained in:
Thomas Harte
2020-03-05 21:56:26 -05:00
parent 462a76dd96
commit 58b8dfb929
3 changed files with 51 additions and 16 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ class Machine: public KeyActions {
}
// That having failed, if a symbol has been supplied then try typing it.
if(symbol && can_type(symbol)) {
if(is_pressed && symbol && can_type(symbol)) {
char string[2] = { symbol, 0 };
type_string(string);
return true;