fix(console): get input line in OnKeyDownRepeat

This commit is contained in:
superp00t 2023-08-25 16:03:43 -04:00
parent eb29dfd933
commit a6550c7c76

View File

@ -132,6 +132,8 @@ int32_t OnKeyDownRepeat(const EVENT_DATA_KEY* data, void* param) {
return 0;
}
auto line = GetInputLine();
switch (data->key) {
case KEY_PAGEUP:
MoveLinePtr(1, data->metaKeyState);