WIP: half broken
This commit is contained in:
@@ -48,7 +48,7 @@ impl FileBrowserState {
|
||||
state
|
||||
}
|
||||
|
||||
fn current_dir(&self) -> PathBuf {
|
||||
pub fn current_dir(&self) -> PathBuf {
|
||||
if self.input.is_empty() {
|
||||
return std::env::current_dir().unwrap_or_else(|_| PathBuf::from("/"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user