summaryrefslogtreecommitdiffstats
path: root/src/interactive/widgets
AgeCommit message (Collapse)Author
2021-05-29thanks clippySebastian Thiel
2021-04-21Fix help menu typoJack Youstra
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 styling for folders (cyan=folders, not chagned - regular files)Maxim Zhukov
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2020-07-23fix clippy warningsMaxim Zhukov
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2020-07-22Minor style improvements to handle special caseSebastian Thiel
2020-07-22fix mark paneSebastian Thiel
2020-07-22Help is back to normalSebastian Thiel
2020-07-22Help looks better now, but is far from 'normal'Sebastian Thiel
2020-07-22Switch to crosstermion 0.3 for tui 0.10 supportSebastian 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-04Fix cargo fmtSebastian Thiel
2020-05-04Add 'x' key to mark for deletion, without togglingSebastian Thiel
Fixes #45
2020-03-30clippySebastian Thiel
2020-03-29Toggle help for entries and mark paneSebastian Thiel
2020-03-29navigation help for 'help' pane :DSebastian Thiel
2020-03-29auto-help which follows through the panesSebastian Thiel
2020-03-29Crossbeam channel is actually not needed in this caseSebastian Thiel
2020-02-01Update tui to 0.8Sebastian Thiel
2019-10-23Make sure borders are drawn more priminently on focusSebastian Thiel
While still being distinguishable on light backgrounds.
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-16performance improvementsv2.1.2Sebastian Thiel
2019-06-16Add 'h' and 'l' as alternative keybindingsSebastian Thiel
2019-06-16Add a missing "n" to the headerKristofer Rye
Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
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
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