feat(tui): replace Input widget with TextArea-based PromptInput supporting multiline, history, and mode symbols #5322

Open
opened 2026-04-09 05:50:32 +00:00 by HAL9000 · 0 comments
Owner

Metadata

  • Branch: feat/tui-v370/textarea-prompt-input
  • Commit Message: feat(tui): replace Input widget with TextArea-based PromptInput supporting multiline, history, and mode symbols
  • Milestone: v3.7.0
  • Parent Epic: #5305

Background

The current TUI uses an Input widget for the prompt, but the spec requires a TextArea widget with multiline support, history navigation, and mode-dependent symbol display. This is tracked in UAT #5071.

Subtasks

  • Replace Input widget with TextArea-based PromptInput widget
  • Implement multiline input detection (shift+enter for newline)
  • Implement history navigation (up/down arrows cycle through history)
  • Implement mode-dependent symbol display (> default, @ reference mode, / command mode, ! shell mode)
  • Wire ! and $ prefixes to activate shell mode (fixes UAT #5057)
  • Write Behave unit tests for PromptInput widget
  • Ensure all nox stages pass

Definition of Done

  • All subtasks completed
  • TextArea supports multiline input
  • History navigation works
  • Mode symbols display correctly
  • ! and $ both activate shell mode
  • Tests written and passing
  • All nox stages pass
  • Coverage >= 97%
  • PR merged

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planner

## Metadata - **Branch**: `feat/tui-v370/textarea-prompt-input` - **Commit Message**: `feat(tui): replace Input widget with TextArea-based PromptInput supporting multiline, history, and mode symbols` - **Milestone**: v3.7.0 - **Parent Epic**: #5305 ## Background The current TUI uses an `Input` widget for the prompt, but the spec requires a `TextArea` widget with multiline support, history navigation, and mode-dependent symbol display. This is tracked in UAT #5071. ## Subtasks - [ ] Replace `Input` widget with `TextArea`-based `PromptInput` widget - [ ] Implement multiline input detection (shift+enter for newline) - [ ] Implement history navigation (up/down arrows cycle through history) - [ ] Implement mode-dependent symbol display (`>` default, `@` reference mode, `/` command mode, `!` shell mode) - [ ] Wire `!` and `$` prefixes to activate shell mode (fixes UAT #5057) - [ ] Write Behave unit tests for PromptInput widget - [ ] Ensure all nox stages pass ## Definition of Done - [ ] All subtasks completed - [ ] TextArea supports multiline input - [ ] History navigation works - [ ] Mode symbols display correctly - [ ] `!` and `$` both activate shell mode - [ ] Tests written and passing - [ ] All nox stages pass - [ ] Coverage >= 97% - [ ] PR merged --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
HAL9000 added this to the v3.7.0 milestone 2026-04-09 05:50:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#5322
No description provided.