diff options
author | qkzk <qu3nt1n@gmail.com> | 2022-10-25 20:16:53 +0200 |
---|---|---|
committer | qkzk <qu3nt1n@gmail.com> | 2022-10-25 20:16:53 +0200 |
commit | e844ca40560e10b3553a0a420ea63a2b56d01ff6 (patch) | |
tree | 67f1d05e6ca3c63de7b915377bae802548ff15aa | |
parent | 5f83ecda886c80b5a2bd8f1b427f1d6917aaec54 (diff) |
readme, remove mut reference when not neededcolor_cache
-rw-r--r-- | readme.md | 2 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -81,6 +81,7 @@ - [x] scrollable help - [x] user defined marks ; saved and read from a file. - [x] refactor: main should return result, have everything raise errors +- [x] stable colors per extension with caching ## TODO @@ -97,7 +98,6 @@ - [ ] args read correctly, use NVIM_LISTEN_ADDRESS if args is sent - [ ] display / event separation. use async and message passing between coroutines - [ ] preview images @ranger [ueberzug-rs](https://github.com/Adit-Chauhan/Ueberzug-rs) @[termimage](https://rawcdn.githack.com/nabijaczleweli/termimage/doc/termimage/index.html) -- [x] color for file extensions. Could be cached... ## BUGS diff --git a/src/main.rs b/src/main.rs index daaa8cc..6d80a0e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,7 @@ fn main() -> FmResult<()> { display.term.present()?; - if status.selected().must_quit() { + if status.selected_non_mut().must_quit() { reset_cursor(&display)?; break; }; |