Age | Commit message (Collapse) | Author |
|
- move a lot of methods into functions
- printing icons is moved to rendering section
|
|
* feat: add `case_sensitive_ext` option for mimetype, theme and icons
* Clone `CONFIG_T` instead of initializing it twice
* Reimplement without `CONFIG_T` as static ref
* Clippy & fmt
|
|
|
|
|
|
Sort options (sort criterion, reversion, dir-first, and case-sensitivity)
are specific for each tab. Changing sort-options will not have any
affect on tabs other than the currently active one. Each new tab will
start with the default sort-options.
|
|
|
|
|
|
* code cleanup
Remove dead code and unused imports around preview features.
* Remove unused config option [display]show_preview
* Remove config option [preview]preview_images
* Remove unused imports
* Remove dead code and unused imports
|
|
|
|
|
|
- file previews also honor max_preview_size option
- removed unnecessary return from cursor_move
- parent_cursor_move now works properly with preview loading
- reloading now retain directory sizes
|
|
- directory loading is also on separate thread now
|
|
- this currently has only been tested with text files
- no line formatting is done yet
- only prints the preview as a single line
- folder previews can now be pushed onto a separate thread if needed
|
|
- event.rs is moved out of utils as its an integral part of the codebase
- load_child.rs has been replaced with preview module
- moved previewing logic inside run.rs instead of spreading it across multiple
commands
|