fix(console): query if either CTRL key is pressed in OnKeyDownRepeat

This commit is contained in:
superp00t committed 2023-08-25 16:04:34 -04:00
1 parent a6550c7c76
commit 9096894a21
1 file changed
+2 -1
+2 -1
View File
@@ -132,6 +132,8 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
return 0; return 0;
} }
auto anyControl = (1 << KEY_LCONTROL) | (1 << KEY_RCONTROL);
auto line = GetInputLine(); auto line = GetInputLine();
switch (data->key) { switch (data->key) {
@@ -161,7 +163,6 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
ResetHighlight(); ResetHighlight();
} }
return 1; return 1;
} }