summaryrefslogtreecommitdiffstats
path: root/src/commands/new_directory.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-05-13rework command parsing and add shell commandJiayi Zhao
- This change will break compatibility with previous keymap.toml configs - 'shell' command allows users to run a shell command inside joshuto
2020-04-18update to tui-rs 0.9Jiayi Zhao
2020-03-20Add more reloading triggersJiayi Zhao
2020-03-02add tab widget for showing which tab we are onJiayi Zhao
- code cleanup - pageup and pagedown now work properly
2020-02-11progress on switching to tui-rs for uiJiayi 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-04revert back to previous printing methodJiayi Zhao
- fix index out of bounds error when multiple threads are running
2019-05-30move reloading of directory content into reload_dir.rs rather than tab.rsJiayi Zhao
2019-05-26update commands to use new textfieldJiayi Zhao
2019-05-25changed the way new directories are handledJiayi Zhao
- now new directories are handled via the command line because it requires user input almost always
2019-04-25rework how previewing worksJiayi Zhao
- should be more extensible now
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-24add more error handlingJiayi Zhao
- optimize/cleanup code
2019-04-22code cleanupJiayi Zhao
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-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-19rust 2018 and clippyJiayi Zhao
2019-02-15Fix most clippy lintsCaleb Bassi
2019-02-15refactor: project layoutCaleb Bassi