Skip to content

fix: handle help menu as a route to avoid closing the app on dismiss#89

Merged
LargeModGames merged 2 commits intoLargeModGames:mainfrom
dpnova:fix/help-menu-nav
Feb 9, 2026
Merged

fix: handle help menu as a route to avoid closing the app on dismiss#89
LargeModGames merged 2 commits intoLargeModGames:mainfrom
dpnova:fix/help-menu-nav

Conversation

@dpnova
Copy link
Copy Markdown
Contributor

@dpnova dpnova commented Feb 9, 2026

Summary

The second time you close the help screen it closes the whole app.

This moves HelpMenu to be a route in its own right to avoid accidentally popping off an empty stack when you hit "q" on the second opening of help.

Also added some other tests for HelpMenu

Testing

  • cargo fmt --all
  • cargo clippy --locked -- -D warnings
  • cargo test --locked
    test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

@LargeModGames LargeModGames merged commit 06df287 into LargeModGames:main Feb 9, 2026
5 checks passed
@LargeModGames
Copy link
Copy Markdown
Owner

@all-contributors please add @dpnova for code

@allcontributors
Copy link
Copy Markdown
Contributor

@LargeModGames

I've put up a pull request to add @dpnova! 🎉

LargeModGames added a commit that referenced this pull request Feb 9, 2026
Adds @dpnova as a contributor for code.

This was requested by LargeModGames [in this
comment](#89 (comment))

[skip ci]
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.

2 participants