McRogueFace/tests/demo
John McCardle b6ec0fe7ab feat: Add focus system demo for #143
Implements a comprehensive Python-level focus management system showing:
- FocusManager: central coordinator for keyboard routing, tab cycling, modal stack
- ModifierTracker: workaround for tracking Shift/Ctrl/Alt state (#160)
- FocusableGrid: WASD movement in a grid with player marker
- TextInputWidget: text entry with cursor, backspace, home/end
- MenuIcon: icons that open modal dialogs on Space/Enter

Features demonstrated:
- Click-to-focus on any widget
- Tab/Shift+Tab cycling through focusable widgets
- Visual focus indicators (blue outline)
- Keyboard routing to focused widget
- Modal dialog push/pop stack
- Escape to close modals

Addresses #143

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 15:30:17 -05:00
..
screens feat: Add focus system demo for #143 2025-12-28 15:30:17 -05:00
screenshots docs: Update grid demo and regenerate API docs 2025-12-02 09:21:43 -05:00
__init__.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
demo_main.py fix: Resolve --exec double script execution bug 2025-11-26 13:20:22 -05:00
perspective_patrol_demo.py feat: Add ColorLayer perspective methods and patrol demo (addresses #113) 2025-12-01 16:26:30 -05:00