aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorGravatar lancebord 2026-03-07 20:05:24 -0500
committerGravatar lancebord 2026-03-07 20:05:24 -0500
commitfe3b6d6ffdc2e6d899dcf64d1e97a6aa53fdef5f (patch)
tree0587bf3bd7836b08c0a733c98996017fae5a32b9 /src/main.rs
parentaccount for wrapping in scroll (diff)
chat name colors
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 061dbc2..9c3d631 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -169,7 +169,7 @@ fn handle_input(text: &str, app: &mut AppState, client: &mut Client) -> bool {
if app.connected && !app.channel.is_empty() {
// Regular chat message to active channel
client.privmsg(&app.channel, text);
- app.push_message(&app.nick.clone(), text, true);
+ app.push_message(&app.nick.clone(), text);
}
}
false
@@ -206,7 +206,7 @@ fn handle_irc_event(event: IrcEvent, app: &mut AppState) {
if !is_self {
// Don't re-echo our own messages (we already pushed them in handle_input)
if target == app.channel || target == app.nick {
- app.push_message(&from, &text, false);
+ app.push_message(&from, &text);
}
}
}