Fix TuiChannel integration and enable in main.rs

- Store event_tx in Arc<Mutex<>> so respond() can send to TUI
- Fix run_event_loop to take owned receiver
- Switch main.rs from SimpleCliChannel to TuiChannel
- Add proper terminal cleanup on TUI error

Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
Illia Polosukhin
2026-02-02 23:47:41 -08:00
co-authored by Claude Opus 4.5
parent 09032d69cb
commit 4ae59ef52c
14 changed files with 1833 additions and 27 deletions
+1
View File
@@ -82,6 +82,7 @@ rand = "0.8"
tokio-test = "0.4"
testcontainers-modules = { version = "0.11", features = ["postgres"] }
pretty_assertions = "1"
tempfile = "3"
[features]
default = []