Age | Commit message (Collapse) | Author |
|
the command
|
|
If no file is selected, bulk-rename will use the "current" file (the one
with the cursor) for renaming.
Adds method `JoshutoDirList.selected_or_current -> Vec<&JoshutoDirEntry>`
which can be used anywhere to get this a collection of selected files
_or_ the current one if none is selected.
|
|
This is preliminary changes in order to track preview threads and progress.
The current setup is we just kick off a new thread to load
the given directory whenever we see the directory content
does not exist in history.
We don't track these threads or which tab these requests
came from. When the result is returned, we just assign it
to the current tab, instead of the tab that actually
initiated the request.
By adding uuid, we can now track which tab requested the
preview and assign it accordingly.
This will also allow us to track the status of the preview,
so we can display to the user a loading state,
when a directory is taking longer than usual to load.
This will also solve the problem of kicking off multiple
threads to read the same directory for the same tab.
Now these threads can be stored and tracked.
- side: fix reload not honouring tab sort options
- use tab specific options whenever we need to reload stuff
|
|
- fix initial view not correctly offset
|
|
|
|
|
|
|
|
|
|
* add `flat` command
* fix bulk_rename command
* fix `open_file` commands
* update docs
* fix errors found by clippy
* fix errors found by clippy::unnecessary-to-owned
* fix open and open_with commands
* fix: crash on root dirs
|
|
|
|
* Fix: remove image preview on bulk rename
* cargo fmt
|
|
temporary file
|
|
|
|
* add sceen clearing before bulk_rename
Co-authored-by: JMARyA <jmarya0@icloud.com>
|
|
|
|
- this should increase the amount of ? operators we can use
|
|
- remove unused code and add #[allow(dead_code)]
|
|
- reduce sharing global variables between modules
|
|
|
|
|
|
|
|
- abstract JoshutoContext implementation behind functions
- rework io workers in an attempt to fix a bug
- update dependencies
- remove JoshutoContextWorker
|
|
- rework file operations
- simpler model for listening on io_worker progress
- cargo fmt/clippy
|
|
- message colors are now yellow instead of cyan
- there is now a wrapper around keymap hashmap
|
|
|
|
- code cleanup
|
|
|
|
- remove curr_list field from tab
- fixes many commands not working
|
|
- clean up code
- update theme config
- fix localstate tracking file selection not selecting proper files
|
|
|
|
|
|
- arguments no longer go through wordexp (still working on a good alternative)
other changes:
- changed update_contents to reload_contents
- opening files with mimetype entries are now moved from unix.rs
to mimetypes.rs
|
|
|
|
|