Make cursor visible after exiting editor
This commit is contained in:
parent
e6a6497b30
commit
19a477e423
2 changed files with 4 additions and 0 deletions
|
|
@ -235,6 +235,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
|
|||
match event {
|
||||
key!(Esc) => {
|
||||
self.cursor = coming_from.map(Cursor::Msg).unwrap_or(Cursor::Bottom);
|
||||
self.correction = Some(Correction::MakeCursorVisible);
|
||||
return Reaction::Handled;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue