diff --git a/src/bin/client.rs b/src/bin/client.rs index 0068cb8..2c9b540 100644 --- a/src/bin/client.rs +++ b/src/bin/client.rs @@ -358,7 +358,10 @@ fn start_keyboard_input_thread( let b = bytes.next().unwrap().unwrap(); let e = parse_event(b, &mut bytes).unwrap(); let is_player_turn = is_player_turn.lock().unwrap(); - if !*is_player_turn && e != Event::Key(Key::Ctrl('c')) { + if !*is_player_turn + && e != Event::Key(Key::Ctrl('c')) + && e != Event::Key(Key::Char('@')) + { //ignore input when it's not the client turn continue; }