Auto complete slash at end of directories
This commit is contained in:
parent
705c881259
commit
02201940d9
1 changed files with 2 additions and 1 deletions
|
|
@ -1384,7 +1384,7 @@ impl EditLocation {
|
|||
};
|
||||
let completions = self.completions.as_ref()?;
|
||||
let completion = completions.get(selected)?;
|
||||
Some(self.location.with_path(completion.1.clone()))
|
||||
Some(self.location.with_path(completion.1.clone()).normalize())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -4758,6 +4758,7 @@ impl Tab {
|
|||
})
|
||||
.on_submit(|_| Message::EditLocationSubmit)
|
||||
.on_tab(Message::EditLocationTab)
|
||||
.on_unfocus(Message::EditLocation(None))
|
||||
.line_height(1.0),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue