Skip to content

Conversation

@themuffinator
Copy link
Owner

Summary

  • refactor menu status bar construction to use a bounded helper instead of raw stringstream concatenation
  • add a reusable P_Menu_BuildStatusBar utility with unit-test fallbacks and header adjustments
  • cover long menu text with a dedicated unit test to ensure layouts are truncated safely

Testing

  • g++ -std=c++17 -DUNIT_TESTS -Isrc tests/menu_statusbar_tests.cpp src/p_menu_statusbar.cpp -o /tmp/menu_statusbar_tests
  • /tmp/menu_statusbar_tests

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants