Skip to content

Commit 477b88e

Browse files
authored
Wrap current directory picker with overlay widget (#2308)
1 parent 3a398ee commit 477b88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helix-term/src/commands.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,7 @@ fn file_picker(cx: &mut Context) {
20912091
fn 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

20972097
fn buffer_picker(cx: &mut Context) {

0 commit comments

Comments
 (0)