diff --git a/chat-cli/src/main.rs b/chat-cli/src/main.rs index 975dec4e2b..ad7e7e65ce 100644 --- a/chat-cli/src/main.rs +++ b/chat-cli/src/main.rs @@ -77,6 +77,9 @@ fn main() { match event { Event::Chat { message, .. } => println!("{}", message), Event::Disconnect => {} // TODO + Event::DisconnectionNotification(time) => { + println!("{}", format!("Connection lost. Kicking in {} seconds", time)) + } } } // Clean up the server after a tick.