1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! rdom-tui runtime — the event loop, hit testing, mouse/keyboard
//! routing, focus management, text selection, clipboard.
//!
//! ## Module layout
//!
//! - [`hit_test`] — `HitTestExt`: map (x, y) → `Option<NodeId>` +
//! `hit_test_path(x, y) → Vec<NodeId>`. Block + IFC fragment +
//! overflow clip + paint-order stacking.
//! - [`router`] — crossterm event → synthesized `TuiEvent` → dispatch.
//! Sub-modules: `mouse`, `hover`, `wheel`, `key`.
//! - [`focus`] — tabindex, focus navigation, modal focus trap.
//! - [`selection`] — text selection, clipboard, `::selection`,
//! `user-select`.
//! - [`pointer_capture`] — drag routing.
//! - [`app`] — `App`, `AppContext`, `AppHandle`, lifecycle, panic
//! safety, the main loop.
//! - [`abort`] — `AbortController` / `AbortSignal` for listener
//! lifetime cancellation (lives here in rdom-tui for v1; may move
//! to rdom-core if the primitive gets broader use).
//!
//! Every sub-module is independently testable and usable. `App`
//! composes them; apps can alternatively drive `Router::route`
//! directly for tests or custom loops.
pub
// Placeholders — later Phase 14.6 sub-phases fill these in.
// pub mod pointer_capture;
pub use ;
pub use HitTestExt;
pub use ;