diff --git a/src/main.rs b/src/main.rs index d6d8045..2fa4acd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,11 +31,14 @@ async fn irc_loop( select! { val = irc_stream.next() => { if let Some(message) = val.transpose()? { + print!("[Rx] {message}"); message_tx.send(message)?; } } val = input_rx.recv() => { - client.send(val.unwrap())?; + let message = val.unwrap(); + print!("[Tx] {message}"); + client.send(message)?; } } }