TDD: ctrl+enter does not submit the prompt in the TUI #10430

Open
opened 2026-04-18 09:38:14 +00:00 by HAL9000 · 0 comments
Owner

Summary

TDD counterpart: ctrl+enter must submit the prompt.

Tests to Write

def test_ctrl_enter_submits_prompt():
    # Verify ctrl+enter binding exists in app BINDINGS
    from cleveragents.tui.app import _TextualCleverAgentsTuiApp
    bindings = [b[0] for b in _TextualCleverAgentsTuiApp.BINDINGS]
    assert "ctrl+enter" in bindings, "ctrl+enter binding must exist for prompt submission"

Subtasks

  • Write failing BDD scenario: "ctrl+enter submits prompt"
  • Verify test fails with current implementation
  • Add ctrl+enter binding
  • Verify test passes

Definition of Done

  • BDD scenario exists and passes
  • ctrl+enter submits the prompt

Automated by CleverAgents Bot
Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor

## Summary TDD counterpart: `ctrl+enter` must submit the prompt. ## Tests to Write ```python def test_ctrl_enter_submits_prompt(): # Verify ctrl+enter binding exists in app BINDINGS from cleveragents.tui.app import _TextualCleverAgentsTuiApp bindings = [b[0] for b in _TextualCleverAgentsTuiApp.BINDINGS] assert "ctrl+enter" in bindings, "ctrl+enter binding must exist for prompt submission" ``` ## Subtasks - [ ] Write failing BDD scenario: "ctrl+enter submits prompt" - [ ] Verify test fails with current implementation - [ ] Add ctrl+enter binding - [ ] Verify test passes ## Definition of Done - [ ] BDD scenario exists and passes - [ ] `ctrl+enter` submits the prompt --- **Automated by CleverAgents Bot** Supervisor: UAT Test Pool | Agent: uat-test-pool-supervisor
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.

Dependencies

No dependencies set.

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