Skip to main content

codetether_agent/tui/app/input/
mod.rs

1//! Text input, Enter, backspace and paste handlers for TUI views.
2//!
3//! Each handler inspects the active [`ViewMode`] and delegates
4//! to the appropriate subsystem.
5
6mod backspace;
7mod base_branch;
8mod bus;
9mod char_input;
10mod chat_helpers;
11mod chat_spawn;
12mod chat_spawn_task;
13mod chat_submit;
14mod chat_submit_dispatch;
15
16// Re-exports so the event loop's auto-drain hook can submit a queued
17// user message as a fresh turn without duplicating the dispatch logic.
18mod enter;
19pub(crate) mod image;
20mod merge;
21mod paste;
22mod pr;
23mod pr_body;
24mod pr_command;
25mod pr_description;
26mod pr_helpers;
27mod pr_title;
28mod sessions;
29mod tests_enter;
30mod tests_paste;
31mod tests_pr;
32mod tests_submit;
33mod worktree;
34mod worktree_result;
35
36pub use backspace::handle_backspace;
37pub use bus::{handle_bus_c, handle_bus_g, handle_bus_slash};
38pub use char_input::handle_char;
39pub use enter::dispatch_enter as handle_enter;
40pub(crate) use image::attach_image_file;
41pub use paste::handle_paste;
42pub use sessions::handle_sessions_char;