fix(tui): do not freeze the UI on chat send #19
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/tui-nonblocking-send"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Enter used
block_on(Node::send), which retries for 180s on the TUI thread soevent::readnever ran (composer still showed the last frame; keys dead).Spawn send on the Tokio runtime, poll keys every 100ms, footer
sendingthensent/send failed.Proof
cargo test --offlinegreencargo clippy --all-targets -- -D warningsclean