mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
fix(console): get input line in OnKeyDownRepeat
This commit is contained in:
parent
eb29dfd933
commit
a6550c7c76
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto line = GetInputLine();
|
||||||
|
|
||||||
switch (data->key) {
|
switch (data->key) {
|
||||||
case KEY_PAGEUP:
|
case KEY_PAGEUP:
|
||||||
MoveLinePtr(1, data->metaKeyState);
|
MoveLinePtr(1, data->metaKeyState);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue