Track focus in room

This commit is contained in:
Joscha 2022-09-25 20:02:58 +02:00
parent 147c3eaf92
commit 8703a62887
4 changed files with 33 additions and 6 deletions

View file

@ -188,7 +188,7 @@ impl Ui {
async fn widget(&mut self) -> BoxedWidget {
let widget = match self.mode {
Mode::Main => self.rooms.widget().await,
Mode::Log => self.log_chat.widget(String::new()).into(),
Mode::Log => self.log_chat.widget(String::new(), true).into(),
};
if let Some(key_bindings_list) = &self.key_bindings_list {