Refactor shared TUI input routing (#42199)

## What changed

- Centralize app-level keymap actions in a shared dispatcher, including raw-output and external-editor chords.
- Move read-only transcript input handling into its own module while preserving prompt backtracking and older-history loading.
- Add regression coverage for transcript draft isolation, backtrack selection, global chords, and cached history when a thread is unavailable.

GitOrigin-RevId: a1465942d1ea6c57c2f54e5e313025aceb9f8510
This commit is contained in:
Benjamin Carlsson authored and copyberry committed 2026-09-02 04:06:44 +00:00
1 parent 798833fe97
commit 0b509e930e
8 files changed
+327 -145

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ mod startup;
mod stream_animation_tests;
#[path = "tests/thread_usage.rs"]
mod thread_usage;
#[path = "tests/transcript_composer.rs"]
mod transcript_composer;
#[path = "tests/turn_submission.rs"]
mod turn_submission;