Skip to content

Cap recents at 200 when toggling hidden games - #1944

Open
robcodedev wants to merge 1 commit into
OnionUI:v4.5-devfrom
robcodedev:limit-hidden-recents
Open

Cap recents at 200 when toggling hidden games#1944
robcodedev wants to merge 1 commit into
OnionUI:v4.5-devfrom
robcodedev:limit-hidden-recents

Conversation

@robcodedev

Copy link
Copy Markdown

Problem

recentlist and recentlist_hidden get concatenated every time hidden games are toggled, and nothing trims the result, so it grows without bound.

What this does

Caps the combined list at 200 entries in both the hide and unhide branches, and discards stderr so a missing hidden list is not reported as an error.

The two lists get concatenated every time and nothing trims the result,
so it grows forever. Also silence stderr while we are in here, a missing
hidden list isn't an error.
Copilot AI added a commit to Amiga500/Onion that referenced this pull request Sep 9, 2026
…1943 OnionUI#1944 OnionUI#1945 OnionUI#1946 (runtime.sh, keymon, lt.lang)

Co-authored-by: Amiga500 <16525337+Amiga500@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant