mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(console): query if either CTRL key is pressed in OnKeyDownRepeat
This commit is contained in:
parent
a6550c7c76
commit
9096894a21
1 changed files with 2 additions and 1 deletions
|
|
@ -132,6 +132,8 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
auto anyControl = (1 << KEY_LCONTROL) | (1 << KEY_RCONTROL);
|
||||
|
||||
auto line = GetInputLine();
|
||||
|
||||
switch (data->key) {
|
||||
|
|
@ -161,7 +163,6 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
|
|||
ResetHighlight();
|
||||
}
|
||||
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue