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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| animation_demo.py | ||
| base.py | ||
| caption_demo.py | ||
| color_demo.py | ||
| focus_system_demo.py | ||
| frame_demo.py | ||
| grid_demo.py | ||
| primitives_demo.py | ||