Add some todos
This commit is contained in:
parent
f8ac8a22e4
commit
cbe2b2e10e
2 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
|
||||||
) -> Reaction<M> {
|
) -> Reaction<M> {
|
||||||
let harmless_char = (event.modifiers - KeyModifiers::SHIFT).is_empty();
|
let harmless_char = (event.modifiers - KeyModifiers::SHIFT).is_empty();
|
||||||
|
|
||||||
|
// TODO Tab-completion
|
||||||
match event.code {
|
match event.code {
|
||||||
KeyCode::Esc => {
|
KeyCode::Esc => {
|
||||||
self.cursor = coming_from.map(Cursor::Msg).unwrap_or(Cursor::Bottom);
|
self.cursor = coming_from.map(Cursor::Msg).unwrap_or(Cursor::Bottom);
|
||||||
|
|
|
||||||
|
|
@ -199,6 +199,9 @@ impl EditorState {
|
||||||
guard.set_text(text);
|
guard.set_text(text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO Share key binding code
|
||||||
|
// TODO Support more of the emacs-y bindings, see bash as example
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////
|
////////////
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue