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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user