Skip to content

Commit

Permalink
Merge pull request #50 from Araxeus/implement-#49
Browse files Browse the repository at this point in the history
  • Loading branch information
Araxeus authored Mar 30, 2023
2 parents fe616d3 + c21f13a commit 27b1a96
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ fn main_loop(initial_path: String) {
let entry = choices[index].clone();

if modifier == KeyModifiers::SHIFT || modifier == KeyModifiers::ALT {
print!("{}", pretty_path(&entry.path));
if index == 0 {
print!("{}", pretty_path(&selected_entry.path));
} else {
print!("{}", pretty_path(&entry.path));
}
break;
}

Expand Down

0 comments on commit 27b1a96

Please sign in to comment.