Skip to content

Commit

Permalink
Wrap current directory picker with overlay widget (#2308)
Browse files Browse the repository at this point in the history
  • Loading branch information
cossonleo authored Apr 28, 2022
1 parent 3a398ee commit 477b88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-term/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 477b88e

Please sign in to comment.