summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqkzk <qu3nt1n@gmail.com>2022-10-25 20:16:53 +0200
committerqkzk <qu3nt1n@gmail.com>2022-10-25 20:16:53 +0200
commite844ca40560e10b3553a0a420ea63a2b56d01ff6 (patch)
tree67f1d05e6ca3c63de7b915377bae802548ff15aa
parent5f83ecda886c80b5a2bd8f1b427f1d6917aaec54 (diff)
readme, remove mut reference when not neededcolor_cache
-rw-r--r--readme.md2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 33e47f5..6fc18d5 100644
--- a/readme.md
+++ b/readme.md
@@ -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;
};