diff options
author | CossonLeo | 2022-04-28 13:17:24 +0000 |
---|---|---|
committer | GitHub | 2022-04-28 13:17:24 +0000 |
commit | 477b88e99cb64576c0ea85b13f71fb43d36fc259 (patch) | |
tree | 6bc719bca7c213e5067df0a5b86e545157e77492 /helix-term/src | |
parent | 3a398eec56c907f9d0f166e77242eb13ded229bc (diff) |
Wrap current directory picker with overlay widget (#2308)
Diffstat (limited to 'helix-term/src')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index ee2afb72..d1c1724a 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2091,7 +2091,7 @@ fn file_picker(cx: &mut Context) { fn file_picker_in_current_directory(cx: &mut Context) { let cwd = std::env::current_dir().unwrap_or_else(|_| PathBuf::from("./")); let picker = ui::file_picker(cwd, &cx.editor.config()); - cx.push_layer(Box::new(picker)); + cx.push_layer(Box::new(overlayed(picker))); } fn buffer_picker(cx: &mut Context) { |