diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-11 20:33:36 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-11 21:35:23 -0400 |
commit | 5c6b1e53e4ebbe65e4299633659b28ff72ef6b56 (patch) | |
tree | e7d554ba93c250ec458460de475162c5a540897c /src/ui/widgets | |
parent | d9a4d91a6b00691d4b363edeb2623ccc8d1f1d55 (diff) |
fix rename file and textfield home
Diffstat (limited to 'src/ui/widgets')
-rw-r--r-- | src/ui/widgets/tui_textfield.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/tui_textfield.rs b/src/ui/widgets/tui_textfield.rs index e978549..602fa5d 100644 --- a/src/ui/widgets/tui_textfield.rs +++ b/src/ui/widgets/tui_textfield.rs @@ -161,7 +161,7 @@ impl<'a> TuiTextField<'a> { } } Event::Input(Key::Home) => { - line_buffer.move_end(); + line_buffer.move_home(); completion_tracker.take(); } Event::Input(Key::End) => { |