summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Collapse)Author
2022-09-11add mimetype support via file commandJeff Zhao
2022-08-29add lazy static initalizations to make sure configs are initialized at the ↵Jeff Zhao
right time
2022-07-24make ambiguous command message more clearJeff Zhao
2022-07-19switch to eprintlnJeff Zhao
2022-07-19add --file-chooser optionJeff Zhao
- now if --output-file is not specified, output will be sent to stdout
2022-07-16move --path option to default optionJeff Zhao
2022-06-29rename TuiBackend to AppBackendJeff Zhao
- fix initial view not correctly offset
2022-06-27rename 'vsplit' to 'hsplit'Jeff Zhao
2022-04-22combine --output-dir and --choosefiles into a single argumentJeff Zhao
--output-file is used for all output by joshuto and can be specified what to output by: `quit --output-current-directory` `quit --output-selected-files`
2022-02-24Fix clippy warnings (#144)sushi-shi
2021-11-16Add choosefiles feature (#105)Cameron Eldridge
* Add choosefiles feature * Use new QuitType::ChooseFile for choosefiles exit path * Compute final selection better
2021-10-30move string into constantJeff Zhao
2021-10-20rework config structureJeff Zhao
2021-10-02move key_command code out into separate moduleJeff Zhao
- make separate files for trait impls - make separate file for constants
2021-08-19change lastdir to last-dirJeff Zhao
2021-08-18cargo fmtJeff Zhao
2021-08-18add quit_to_cwd commandJeff Zhao
- this command lets users exit to the current directory more easily and more ergonomically
2021-06-21refactor previewing codeJeff Zhao
- event.rs is moved out of utils as its an integral part of the codebase - load_child.rs has been replaced with preview module - moved previewing logic inside run.rs instead of spreading it across multiple commands
2021-06-10add support for specifying new tab home pageJeff Zhao
- inherit, start where preview tab started - home, start in home dir - root, start in root dir - add rudimentary support for preview - add preview script configuration
2021-05-30add additional configuration directoriesJeff Zhao
- in order of precedence: - $JOSHUTO_CONFIG_DIR - $XDG_CONFIG_HOME/joshuto - $HOME/.config/joshuto
2021-05-16make error handling clearer with "if let"Prince
2021-05-07add more automatic error handlingJeff Zhao
2021-04-29rename some structs that start with Joshuto to AppJeff Zhao
- reduce sharing global variables between modules
2021-04-29rename CommandMapping to KeyMappingJeff Zhao
2021-01-31cargo fmtJeff Zhao
2021-01-31add --lastdir option to output pwd upon quittingJeff Zhao
- joshuto will create a file and output the pwd of the last tab they were on when quitting - this allows users to write the pwd and go to that directory upon exiting using scripts
2021-01-20cd with tilde expansionMatthew Blode
2020-03-19add soft-reload optionJiayi Zhao
- this helps with reloading upon sort order change
2020-03-18remove cursormovestub and add rudimentary sort commandJiayi Zhao
2020-03-17fix cutJiayi Zhao
2020-03-16add version and path command line argumentsJiayi Zhao
2020-03-02add tab widget for showing which tab we are onJiayi Zhao
- code cleanup - pageup and pagedown now work properly
2020-02-22implement textfield widgetJiayi Zhao
- for asking users for long input strings - implement prompt widget - for prompting users for a single key response
2020-02-16remove ncurses dependencyJiayi Zhao
- clean up code - update theme config - fix localstate tracking file selection not selecting proper files
2020-02-13more work on textfieldJiayi Zhao
2020-02-09rework input thread and file operationsJiayi Zhao
- no longer depend on fs_extra for copy/paste files - in house solution preserves permissions - ioworkers are now queued, no more parallel io tasks - input thread now listens for ioworker threads as well - cargo fmt
2020-02-08change to using termion's keyboard handlingJiayi Zhao
- user input is now on a seperate thread - this allows for other threads to be added as well - keymap configs have changed to be more user friendly
2019-06-23cargo fmtJiayi Zhao
2019-06-23rename io to fsJiayi Zhao
2019-06-04change pub fields to private and rename structs to ioJiayi Zhao
2019-05-31cargo fmtJiayi Zhao
2019-05-31add support for specifying certain keycodes for certain keyboard actionsJiayi Zhao
2019-05-29move hostname and username out of Context and into a static globalJiayi Zhao
2019-05-25make home directory a global variableJiayi Zhao
2019-05-18add debug flagJiayi Zhao
2019-05-05cargo fmtJiayi Zhao
2019-05-01add ConfigStructure traitJiayi Zhao
- make JoshutoKeymap just an alias for HashMap<i32, CommandKeybind> - change keymap.toml to use ascii values rather than strings that needs reparsing
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