Connect to and disconnect from existing rooms
This commit is contained in:
parent
365b3fffd0
commit
05ac42ab78
2 changed files with 51 additions and 4 deletions
|
|
@ -192,7 +192,11 @@ impl Ui {
|
|||
}
|
||||
|
||||
match self.mode {
|
||||
Mode::Main => self.rooms.handle_key_event(terminal, size, event).await,
|
||||
Mode::Main => {
|
||||
self.rooms
|
||||
.handle_key_event(terminal, size, &self.event_tx, event)
|
||||
.await
|
||||
}
|
||||
Mode::Log => self.log_chat.handle_navigation(terminal, size, event).await,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue