diff options
author | Canop <cano.petrole@gmail.com> | 2020-10-18 21:52:33 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-10-18 21:52:33 +0200 |
commit | 71c1323cf29c9e11438177ad26c4533fb4ebb609 (patch) | |
tree | 46ddec9d42544a45f92f9f598d31adb687856d77 /src/browser/browser_state.rs | |
parent | 6e2f61c7eb57707f98a1b0ef5bd7b36d3ced7df3 (diff) |
:root_fs shows size/available infos of current filesystem on top
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index 6feb10d..05a2dc3 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -473,6 +473,9 @@ impl AppState for BrowserState { Internal::toggle_hidden => { self.with_new_options(screen, &|o| o.show_hidden ^= true, bang, con) } + Internal::toggle_root_fs => { + self.with_new_options(screen, &|o| o.show_root_fs ^= true, bang, con) + } Internal::toggle_git_ignore => { self.with_new_options(screen, &|o| o.respect_git_ignore ^= true, bang, con) } |