This repository was archived by the owner on Apr 22, 2026. It is now read-only.
Commit f2f29d3
authored
fix: handle DataTable RowSelected event for TUI workspace navigation (#43)
* fix: TUI workspace navigation exits and launches claude with plan prompt
When user presses Enter on a workspace in the TUI:
- TUI exits completely (returns WorkspaceInfo)
- Shell executes: cd to workspace, set tab title, activate venv, launch claude
- Tab title derived from beads issue title (truncated to 30 chars)
- Claude launched with 'plan <issue-id>' when purpose contains beads ID
- All user inputs sanitized with shlex.quote() for security
Closes agentspaces-2ln
* fix: handle DataTable RowSelected event for TUI workspace navigation
DataTable with cursor_type="row" consumes Enter key and emits RowSelected
events, which takes precedence over App-level keybindings. Added
on_data_table_row_selected handler to properly capture Enter presses
and delegate to action_navigate().
The App-level binding is retained for footer display purposes.1 parent 5c4ddfe commit f2f29d3
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
| |||
0 commit comments