feat(tui): Enter sends chat to the selected friend

Composer Enter only ran slash commands, so typed messages were dropped.
Wire Node::send, keep /commands, reject unknown /foo as not-chat.
This commit is contained in:
Sirius DevOps 2026-09-10 23:07:22 -04:00
commit c4ccca7e8c
No known key found for this signature in database
4 changed files with 105 additions and 13 deletions

View file

@ -40,8 +40,8 @@ fn help_overlay_lists_core_bindings() {
let help = help_overlay_text();
assert!(!help.is_empty());
for needle in [
"Tab", "F2", "F3", "F4", "F5", "/profile", "/pay", "/tip", "/backup", "/restore", "Ctrl-Q",
"?",
"Tab", "F2", "F3", "F4", "F5", "send chat", "/profile", "/pay", "/tip", "/backup",
"/restore", "Ctrl-Q", "?",
] {
assert!(help.contains(needle), "help overlay missing {needle:?}");
}