diff options
author | Ivan Tham | 2021-07-18 04:24:07 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-07-22 02:22:27 +0000 |
commit | eba0bbda2ee10e9ba53f01f1d324d2c4c82229d2 (patch) | |
tree | d86b64715f3d948766d2226c27c58e54860ff2e5 /helix-term/src/ui | |
parent | df0ed80931c358262fd6858306e28806c0523068 (diff) |
Resume last picker
Inspired by space ' in doom emacs.
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r-- | helix-term/src/ui/picker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/ui/picker.rs b/helix-term/src/ui/picker.rs index d7fc9d86..733be2fc 100644 --- a/helix-term/src/ui/picker.rs +++ b/helix-term/src/ui/picker.rs @@ -159,7 +159,7 @@ impl<T: 'static> Component for Picker<T> { let close_fn = EventResult::Consumed(Some(Box::new(|compositor: &mut Compositor| { // remove the layer - compositor.pop(); + compositor.last_picker = compositor.pop(); }))); match key_event { |