diff --git a/src/ui/chat/tree.rs b/src/ui/chat/tree.rs index 50737ad..e9177a9 100644 --- a/src/ui/chat/tree.rs +++ b/src/ui/chat/tree.rs @@ -265,6 +265,7 @@ impl> InnerTreeViewState { fn sent(&mut self, id: Option) { if let Cursor::Pseudo { coming_from, .. } = &self.cursor { if let Some(id) = id { + self.last_cursor = Cursor::Msg(id.clone()); self.cursor = Cursor::Msg(id); self.editor.clear(); } else {