WIP: half broken

This commit is contained in:
2026-01-24 01:59:51 +01:00
parent 3bb19cbda8
commit b3c56bc56c
21 changed files with 1310 additions and 119 deletions

View File

@@ -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("/"));
}