Add private messaging to the TUI: - 'm' opens the command bar in message mode; type '<recipient> <text>' and Enter sends it via the client; - incoming messages are polled each tick into an inbox; - 'i' toggles a centered inbox popup listing sent/received messages. The shared command bar now carries a mode (search vs message) so the prefix, submit action and shortcut hints follow what is being typed.
9 lines
227 B
Rust
9 lines
227 B
Rust
mod app_state;
|
|
mod file_display_data;
|
|
|
|
pub use app_state::{
|
|
AppState, ChatMessage, CommandBarMode, DownloadEntry, FocusedPane,
|
|
MessageDirection, SearchEntry, SearchStatus,
|
|
};
|
|
pub use file_display_data::FileDisplayData;
|