# Implementation Plan: Fix `keys_down` AttributeError

## Phase 1: Investigation and Implementation
- [x] Task: Investigate ImGui API
    - [x] Identify the correct `imgui-bundle` equivalent for `io.keys_down` (e.g., `imgui.is_key_pressed(imgui.Key.r, False)`).
    - [x] Search the codebase for any other instances of `io.keys_down` that need updating.
- [x] Task: Apply Fixes
    - [x] Modify `src/gui_2.py` (around line 695) to replace `io.keys_down[ord('R')]` with the modern API call.
    - [x] Apply the same fix to any other locations found during the codebase search.
- [x] Task: Verification
    - [x] Start the application locally and trigger the `Ctrl+Alt+R` shortcut to confirm it no longer crashes.
    - [x] Ensure general application stability.
- [x] Task: Conductor - User Manual Verification 'Phase 1: Investigation and Implementation' (Protocol in workflow.md)
