summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2024-03-10fix: mark-pane help bar now shows closest to the selected item.Sebastian Thiel
Previously this would only work in the first screen, but not when the list was long enough for scrolling.
2024-03-10fix possible overflow during substraction in mark paneSebastian Thiel
It was there for quite a while.
2024-03-10Add scrollbar for mark listCyandev
2024-03-09avoid iterating a potentially long list doublySebastian Thiel
2024-03-09Add scrollbar for main listCyandev
2024-03-01Fixes clippy error in rust 1.76Piotr Wach
2024-01-23feat: add `dua i --no-entry-check` flag. (#227)Sebastian Thiel
With it, in interactive mode, entries will not be checked for presence. This can avoid laggy behaviour when switching between directories as `lstat` calls will not run, which can be slow on some filesystems.
2024-01-22Make builds with rustc 1.72 work (#226)Sebastian Thiel
2024-01-22fix: allow `/` (glob-mode) while scanning.Sebastian Thiel
This will possibly lead to incomplete results, but I find being able to use ones muscle-memory more important than preventing dealing with incomplete results. What happens to me is usually to type `/` followed by `target/` which tends to select all current entries for deletion.
2024-01-22fix: don't check entry metadata while a scan is in progress (#223)Sebastian Thiel
Previously each time the UI refreshes, every 250ms, it display entries but also check their metadata to assure they exist. This could lead to performance loss when the displayed folder has a lot of entries.
2024-01-21refactorSebastian Thiel
- journey tests use string-based input when possible - make clearer what `input` means by renaming it
2024-01-20cargo fmtPiotr Wach
2024-01-20Tests for refresh & selectionPiotr Wach
2024-01-20Fix refresh with multiple input pathsPiotr Wach
2024-01-20Test glob pane open/closePiotr Wach
2024-01-20Tests for shwing/hiding additional columnsPiotr Wach
2024-01-17refactorSebastian Thiel
- show messages that indicate why sometimes key-presses are ignored - maintain previous selection in a clearer fashion - maintain seelction from glob-mode as well - switch title to `entry` as it's not only 'file's there, also directories. - also show how many entries there are visible
2024-01-17make `Shift+r` do more than 'r'Sebastian Thiel
It's more effort, which should be reflrected in the amount of work done as well, which I think is more intuitive.
2024-01-14Preserve selected element after refreshPiotr Wach
2024-01-14Various updates based on the code review feedback:Piotr Wach
* Added keys to the Help page. * Starting a new traversal is blocked if another traversal is already running. * Glob search is blocked if traversal is already running.
2024-01-14cargo clippy & fmtPiotr Wach
2024-01-14Fix testsPiotr Wach
2024-01-14Exit glob mode if view root is the same as glob rootPiotr Wach
2024-01-14Fix updating item countPiotr Wach
2024-01-14Fixed testsPiotr Wach
2024-01-14Remove debug commentsPiotr Wach
2024-01-14Refresh all in view vs selectedPiotr Wach
2024-01-14Fix file countPiotr Wach
2024-01-14Fix traversal statsPiotr Wach
2024-01-14Moved traversal stats to separate typePiotr Wach
2024-01-14Traverse children vs parent & fix parent node size after refreshPiotr Wach
2024-01-10add `R` to trigger a full refresh (PoC)Sebastian Thiel
- it doesn't deal with sub-trees - for that it would need awareness of the method that integrates tree events. - selection handling isn't implemented, so the selection just disappears. - if the root to be refreshed still exists, it should probably keep it selected instead of removing it. - it seems useful to have some control over the scope of the refresh, and these are sketched with the `Refresh` enum.
2024-01-10make WalkOptions available in State so it can re-use it for additional walks.Sebastian Thiel
2024-01-09feat: show and hide mtime and item count columns with 'M' and 'C' respectivelyPiotr Wach
2024-01-09refactorSebastian Thiel
- avoid `app_` prefix in `app` module. - cleanup root-index logic a little
2024-01-08clippyPiotr Wach
2024-01-08Fixed testsPiotr Wach
2024-01-08fmtPiotr Wach
2024-01-08clippyPiotr Wach
2024-01-08New TraversalPiotr Wach
2024-01-07fmtPiotr Wach
2024-01-07clippyPiotr Wach
2024-01-07started fixing tests...Piotr Wach
2024-01-07remove commented out codePiotr Wach
2024-01-07first working versionPiotr Wach
2024-01-07cargo fmtPiotr Wach
2024-01-07Update entriesPiotr Wach
2024-01-07wipPiotr Wach
2024-01-07Clean-up init functionPiotr Wach
2024-01-07Move ByteFormat out of WalkOptionsPiotr Wach