summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-09 12:39:31 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-02-09 13:07:31 -0500
commitbecbb90b2f22d58c98693d653f55ba604bb03f75 (patch)
tree085b9ac9b197a9ad3f0dd20df36848c5619adefe /src/main.rs
parent656582a6c867c25667661be9b327b4cc73859d7d (diff)
rework input thread and file operations
- 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
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 13f5ca0..7b70206 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -4,14 +4,15 @@ mod context;
mod error;
mod fs;
mod history;
+mod io;
mod preview;
mod run;
mod sort;
mod tab;
mod textfield;
mod ui;
-mod util;
mod unix;
+mod util;
mod window;
use lazy_static::lazy_static;
@@ -69,9 +70,9 @@ fn main() {
if args.debug {
eprintln!("keymaps: {:#?}", keymap);
- // eprintln!("config: {:#?}", config);
- // eprintln!("theme config: {:#?}", *THEME_T);
- // eprintln!("mimetype config: {:#?}", *MIMETYPE_T);
+ eprintln!("config: {:#?}", config);
+ eprintln!("theme config: {:#?}", *THEME_T);
+ eprintln!("mimetype config: {:#?}", *MIMETYPE_T);
}
run(config, keymap);