Fix editor cursor not being made visible

This commit is contained in:
Joscha 2022-08-02 22:09:41 +02:00
parent cfcc663169
commit 3ab73668ba
4 changed files with 25 additions and 8 deletions

View file

@ -169,6 +169,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
coming_from: id,
parent,
};
self.correction = Some(Correction::MakeCursorVisible);
}
}
KeyCode::Char('R') => {
@ -177,6 +178,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
coming_from: id,
parent,
};
self.correction = Some(Correction::MakeCursorVisible);
}
}
KeyCode::Char('t' | 'T') => {
@ -184,6 +186,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
coming_from: id,
parent: None,
};
self.correction = Some(Correction::MakeCursorVisible);
}
_ => return false,
}