on master help sign in
Wrap current directory picker with overlay widget (#2308)
commit477b88e99cb64576c0ea85b13f71fb43d36fc259 authorCossonLeo <20379044+cossonleo@users.noreply.github.com> dateThu 28 Apr 2022, 21:17 (5 years ago) parent3a398ee
1 file changed+1−1
helix-term/src/commands.rs+1−1
helix-term/src/commands.rs+1−1
@@ -2091,7 +2091,7 @@ fn file_picker(cx: &mut Context) {
20912091fn file_picker_in_current_directory(cx: &mut Context) {
20922092 let cwd = std::env::current_dir().unwrap_or_else(|_| PathBuf::from("./"));
20932093 let picker = ui::file_picker(cwd, &cx.editor.config());
2094− cx.push_layer(Box::new(picker));
2094+ cx.push_layer(Box::new(overlayed(picker)));
20952095}
20962096
20972097fn buffer_picker(cx: &mut Context) {