summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2019-07-21Show broken symlinks on the first level of iterationSebastian Thiel
2019-07-21Handle broken symlinks, they can now be deletedSebastian Thiel
These are tough, as metadata on them will fail, as it tries to follow the symlink. It's odd, as we can still check if this was a symlink in case it could be followed, but we can't check that in case it could not be followed. In a way, the `metadata()` call should rather amended with a sybling method like `nmetadata()` to have a version that doesn't follow symlinks. Anyway... .
2019-07-21Assure we flush stdout to switch back to the previous screenSebastian Thiel
Previously the TUI would leave the alternate screen where it was, potentially, as stdout wasn't flushed.
2019-07-14Allow for pageup/down to work in selector pane (interactive mode)Sebastian Thiel
Fixes #21
2019-07-14Do not follow symbolic links when iterating directories!Sebastian Thiel
Fixes #24
2019-06-16performance improvementsv2.1.2Sebastian Thiel
2019-06-16Better progress display when deleting multiple itemsSebastian Thiel
2019-06-16Auto-restore previously selected entries; quality of life!Sebastian Thiel
2019-06-16Add 'h' and 'l' as alternative keybindingsSebastian Thiel
2019-06-16error formatting suggestionsJack O'Connor
We can avoid the `(s)` by inspecting the number. And using spaces instead of tabs makes the output more consistent in a terminal, no longer depending on the length of the preceding filename.
2019-06-16Add a missing "n" to the headerKristofer Rye
Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
2019-06-15Handle symlinks in a rather brutal way.Sebastian Thiel
2019-06-15Fix journey-testsSebastian Thiel
2019-06-15pane is now displayed during deletion; keeps last item selectedSebastian Thiel
2019-06-15This might be the first working version of deletionSebastian Thiel
2019-06-15Update num entries and bytes totalSebastian Thiel
2019-06-15Usage of StableGraph fixes logic thus farSebastian Thiel
2019-06-15better separation of concerns when iterating marked itemsSebastian Thiel
also: fix consumption of mark-pane - it's now not always consuming it.
2019-06-15First half-baked version of deletion within traversal treeSebastian Thiel
No size handling for now
2019-06-15refactorSebastian Thiel
2019-06-15refactorSebastian Thiel
2019-06-15First rough version of the required pieces in MarkPaneSebastian Thiel
2019-06-14first sketch of the delete-draw-loopSebastian Thiel
2019-06-14Xi'an/China: first test to fully verify deletionSebastian Thiel
2019-06-08Guangzhou/China: Move parts of the tests into their own filesSebastian Thiel
2019-06-08Somewhere over China: preparation for splitting tests into modulesSebastian Thiel
2019-06-08Somewhere over China: refactor deletion - now with error handlingSebastian Thiel
2019-06-08Somewhere over China: Let's not be quite so ignorant about errors during ↵Sebastian Thiel
deletion
2019-06-08Dehli/India: recursive deletion - tests can beginSebastian Thiel
2019-06-08Dehli/India: simple recursive copy - deletion would like depth-first though ;)Sebastian Thiel
2019-06-08Dehli/India: Basic for test with writable directorySebastian Thiel
Would have loved to use a crate with basic utilities, but there is no internet here :(
2019-06-08Dehli/India: Make marker selection feel rightSebastian Thiel
2019-06-08Pune/India: Nicer colors for warn window in selectionSebastian Thiel
2019-06-08Pune/India: Warning window follows user selectionSebastian Thiel
2019-06-08Pune/India: Fix handling of deleting the first index in the mark listSebastian Thiel
2019-06-08Pune/India: more prominent selection in mark paneSebastian Thiel
2019-06-08Pune/India: Rustic way of handling the mark panes disappearanceSebastian Thiel
Interesting: before that fix, the GUI was in an invalid state, as the mark pane disappeared without setting the focus back to the main window. Thanks to everything being encoded in the typesystem and no assumptions made, the program wouldn't crash when buttons are pressed, which would otherwise be attempted to dispatch to the now gone mark pane. Instead one could press 'q' or tab, as fortunately, the pane handling is always done before any of the panes get a chance.
2019-06-08Pune/India: don't show warning if nothing is marked anymoreSebastian Thiel
this can happen if the user removes all entries. The pane stays open in this case, which is a little inconsistent, but not worth fixing as it's certainly not the common case. If it should be fixed, the 'key()' function should become consuming to possible delete the pane.
2019-06-08Pune/India: Actually hook up spacebar in mark paneSebastian Thiel
2019-06-08Pune/India: Make help window pretty againSebastian Thiel
2019-06-08Pune/India: Better handling of what is selected after removing a marked entrySebastian Thiel
2019-06-08Pune/India: Don't try to go down as marked items are removedSebastian Thiel
2019-06-07Fixed Up and Down key inputs and added Left and Right for Ascent and Descent ↵Sathish
navigation
2019-06-07First version of removing marked items from the listSebastian Thiel
2019-06-07Only show hotkey for deletion when focus is on the mark paneSebastian Thiel
2019-06-07First version of help line which tells what to do to delete thingsSebastian Thiel
2019-06-07Happier clippySebastian Thiel
2019-06-07Grapheme handling when truncating long filenamesSebastian Thiel
2019-06-07First prettier version of mark paneSebastian Thiel
2019-06-07Proper scrolling in mark paneSebastian Thiel
If something is selected, it behaves like you expect. Otherwise, it always shows the bottom of the list.