summaryrefslogtreecommitdiffstats
path: root/src/commands/cursor_move.rs
AgeCommit message (Collapse)Author
2020-12-15add option to not collapse previewJiayi Zhao
- add methods to access config_t - add back home dir path shortening option
2020-09-19Change command to use an enum instead of polymorphismJiayi Zhao
2020-08-30rework and fix issuesJiayi Zhao
- fixed bug where io tasks would not run when user is in a textfield or prompt - fixed bug where cut doesn't work - rework structs to have private fields and public functions - move IOWorkerObserver into seperate file - move code from TuiView to TuiFolderView
2020-08-29big rework and dependency updateJiayi Zhao
- abstract JoshutoContext implementation behind functions - rework io workers in an attempt to fix a bug - update dependencies - remove JoshutoContextWorker
2020-03-18remove cursormovestub and add rudimentary sort commandJiayi Zhao
2020-03-16cargo clippyJiayi Zhao
2020-03-14add stub cursor move command for generating previewsJiayi Zhao
2020-03-02add tab widget for showing which tab we are onJiayi Zhao
- code cleanup - pageup and pagedown now work properly
2020-02-22move the majority of rendering into its own widget: TuiViewJiayi Zhao
- textfield is now a widget as well - reduced code duplication with TuiView - add backtab support - add a message queue for notifications
2020-02-16remove more codeJiayi Zhao
- remove curr_list field from tab - fixes many commands not working
2020-02-16remove ncurses dependencyJiayi Zhao
- clean up code - update theme config - fix localstate tracking file selection not selecting proper files
2020-02-11progress on switching to tui-rs for uiJiayi Zhao
2019-06-30add bulk_rename commandJiayi Zhao
2019-06-29rework error systemJiayi Zhao
- JoshutoErrorKind now envelops all possible errors by Joshuto - JoshutoError behaves like std::io::Error - add JoshutoResult
2019-06-28cargo fmtJiayi Zhao
2019-06-04revert back to previous printing methodJiayi Zhao
- fix index out of bounds error when multiple threads are running
2019-05-29move hostname and username out of Context and into a static globalJiayi Zhao
2019-05-27cargo fmtJiayi Zhao
2019-05-27move updating page state to cursor_move onlyJiayi Zhao
- refactor page state to take an end to prevent blank views on init - move functions out of JoshutoPanel into ui.rs - create a struct for configuring how to display content - new type JoshutoHistory - rename display_options to display_menu
2019-04-28from_args has been changed from option to resultJiayi Zhao
- attempt to fix progress bars
2019-04-27change struct names and update keymap.tomlJiayi Zhao
2019-04-25refactor previewingJiayi Zhao
- remove dependency on preview.rs in commands/ - now can just call tab.refresh_preview to update the preview
2019-04-24major refactoringJiayi Zhao
- removed parent_list from JoshutoTab struct - parent_list will behave much like previewing now where the contents will be retrieved from the dictionary - completely remove DirHistory struct in favour of trait implemenation on top of HashMap
2019-04-24tabs now open in home directoryJiayi Zhao
- fix issue where after a copy/paste is finised, the directory list view is not updated
2019-04-22code cleanupJiayi Zhao
2019-04-19fix only copying a single file over and subsequent ones get an invalid pathJiayi Zhao
- changed selection.rs to work with new methods in struct
2019-04-19remove functionality from commands/mod.rsJiayi Zhao
2019-04-18cursor_move now always repaintJiayi Zhao
- even when a repaint is not needed (e.g. cursor is at beginning/end of directory listing)
2019-04-14rework error handling systemJiayi Zhao
rather than letting each command separately handle errors, we return a Result<(), JoshutoError> instead and allow for run.rs to handle all errors
2019-04-04fix cursor resetting to top when action is completedJiayi Zhao
- remove unused code - clean up compiler warnings
2019-03-30move view struct out of Context and pass in as a separate argumentJiayi Zhao
- rename static variables to all caps - change index to be Option<usize> rather than i32 where -1 means the directory is empty
2019-02-20change how preview worksJiayi Zhao
2019-02-19rust 2018 and clippyJiayi Zhao
2019-02-15refactor: project layoutCaleb Bassi