-
Notifications
You must be signed in to change notification settings - Fork 0
orch-monitor TUI: Keyboard input in one pane triggers shortcuts in other panes #285
Description
Problem
When typing in the control agent pane in orch-monitor TUI, keyboard shortcuts from the issue view pane are being triggered. This indicates a focus/input handling bug where keyboard events are not properly scoped to the active pane.
Expected Behavior
Keyboard input should only affect the currently focused pane. When typing in the control agent pane, keystrokes should be captured by that pane and not trigger shortcuts in the issue view or other panes.
Actual Behavior
Typing in the control agent pane triggers keyboard shortcuts from the issue view pane.
Likely Cause
The TUI framework (likely Textual) may not be properly managing input focus between panes, or keyboard event handlers are registered globally instead of being scoped to their respective widgets/panes.
Suggested Fix
- Ensure each pane properly captures/releases focus
- Scope keyboard shortcut bindings to their respective pane widgets
- Verify that the input widget in control agent pane has exclusive focus when active
Migrated from https://github.com/CyberAgentAILab/doeff/issues/164