Fix not being able to close nick dialog
This commit is contained in:
parent
77c5b479aa
commit
73cb568702
4 changed files with 39 additions and 22 deletions
|
|
@ -53,7 +53,7 @@ impl<M: Msg, S: MsgStore<M>> ChatState<M, S> {
|
|||
}
|
||||
}
|
||||
|
||||
pub async fn handle_navigation(&mut self, event: KeyEvent) {
|
||||
pub async fn handle_navigation(&mut self, event: KeyEvent) -> bool {
|
||||
match self.mode {
|
||||
Mode::Tree => self.tree.handle_navigation(event).await,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue