summaryrefslogtreecommitdiffstats
path: root/src/interactive/widgets/mark.rs
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
2023-12-26fix: avoid duplicate key input on windows (#203).Sebastian Thiel
On Windows, key-states like press/release/repeat are made available separately, which means we should avoid responding to key-releases as it would incorrectly double the actual user inputs.
2023-12-26upgrade to latest verison of tui-crates and native crossterm events. (#203)Sebastian Thiel
2023-12-23remove treeview abstraction in favor of something simplerSebastian Thiel
2023-12-19Implements glob search modePiotr Wach
2023-12-10refactorSebastian Thiel
Use a single version of the COUNT formatter.
2023-12-10Calculates mark pane item count consistently with the rest of the appPiotr Wach
2023-12-09upgrade to latest crossterm; switch to `ratatui` from `tui`Sebastian Thiel
2023-11-20Fixes marking parent directory for deletion counts children twicePiotr Wach
2023-05-05thanks clippySebastian Thiel
2022-01-21feat: interactive mode learns 'toggle [a]ll' and 'remove [a]ll'.Sebastian Thiel
In the mark pane, the 'a' key will now toggle all entries. This is particularly interesting for selecting entries to exclude by hande and then invert the selection by toggling [a]ll. In the mark pane, toggling all with the 'a' key means removing all entries and closing the pane.
2022-01-20Add `a` key to toggle marked status of all entriesOmnikar
2021-10-26thanks clippySebastian Thiel
2021-08-22Merge branch 'style'Sebastian Thiel
2021-08-22Support Home/End and fix inconsistent help textKid
2021-08-22Improve mark widget tip styleKid
2021-07-13Make the trash feature optionalLewis Cook
2021-06-30cargo fmtSebastian Thiel
2021-06-30Add mark pane prompt message for ctrl + tSebastian Thiel
2021-06-30Refactor: deduplicate codeFederico Stra
2021-06-27Implement Ctrl+t move to trashFederico Stra
2021-06-08Print marked items upon exit if these are left in the marked paneSebastian Thiel
Fixes #87
2021-02-15thanks clippySebastian Thiel
2021-02-15Add bindings 'H' and 'G' to go to the top/bottom of any paneSebastian Thiel
Fixes #78
2020-07-23fix clippy warningsMaxim Zhukov
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2020-07-22fix mark paneSebastian Thiel
2020-07-22Upgrade to tui 0.10 step one…tui-react-v0.10.0Sebastian Thiel
…which can be followed by a crosstermion upgrade once prodash/crosstermion have caught up.
2020-07-06convert input handling to crosstermionSebastian Thiel
2020-07-02Use u128 for byte sizesThomas Hurst
Per issue #58, u64 is insufficient for use with very large sparse files. Enormous file sizes are also a common filesystem error trope, either from disk corruption or software bugs, and they're also conceivable with virtual filesystems. Handle this as gracefully as can be reasonably expected using 128-bit integers, which should be sufficient for most uses.
2020-05-04Upgrade to tui 0.9v2.6.0tui-react-v0.4.0Sebastian Thiel
2020-05-04Add 'x' key to mark for deletion, without togglingSebastian Thiel
Fixes #45
2020-03-29Toggle help for entries and mark paneSebastian Thiel
2020-03-29auto-help which follows through the panesSebastian Thiel
2019-07-25Run rustfmt; use debug_assert; rename functionSebastian Thiel
2019-07-24Use same colors in mark pane as in entries paneVinzent Steinberg
This required passing the information whether a path is a directory accordingly.
2019-07-24Fix color scheme for light terminalsVinzent Steinberg
This is done by making sure that we never have a background that is black or white combined with a foreground that uses the terminal's default and vice versa. Because we cannot access the default terminal colors, we have to rely on inverted colors and bold text for highlighting. Also, the mark pane was improved to be more consistent with the entries pane. Ideally, we would use the same color as in the entries pane, but this is currently not possible, because the mark pane does not know whether a path is a directory or not. Fixes #13.
2019-06-15pane is now displayed during deletion; keeps last item selectedSebastian 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-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