Open link popup via key binding

This commit is contained in:
Joscha 2022-08-30 00:30:08 +02:00
parent bb542ae08e
commit c09608d1f8
6 changed files with 123 additions and 4 deletions

View file

@ -106,6 +106,12 @@ impl<M: Msg, S: MsgStore<M>> ChatState<M, S> {
}
}
pub async fn cursor(&self) -> Option<M::Id> {
match self.mode {
Mode::Tree => self.tree.cursor().await,
}
}
/// A [`Reaction::Composed`] message was sent, either successfully or
/// unsuccessfully.
///