Showing the changes to player/lua/console.lua (1 of 1 file). Show all
Unified · Split
| @@ -926,6 +926,11 @@ local function move_history(amount, is_wheel) · 925 unmodified lines | |||
| 926 | math.max(first_match_to_print + amount, 1), #matches - max_lines + 2) | 926 | math.max(first_match_to_print + amount, 1), #matches - max_lines + 2) |
| 927 | end | 927 | end |
| 928 | 928 | ||
| 929 | local item = determine_hovered_item() | ||
| 930 | if item then | ||
| 931 | selected_match = item | ||
| 932 | end | ||
| 933 | |||
| 929 | update() | 934 | update() |
| 930 | return | 935 | return |
| 931 | end | 936 | end |