diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-08 20:58:03 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-02-08 20:58:55 -0500 |
commit | 656582a6c867c25667661be9b327b4cc73859d7d (patch) | |
tree | fe03a1822b752a747da099aeb33a610fb3590067 /src/main.rs | |
parent | 7a603efb9b3024438bdce8899fd21bcf353e3832 (diff) |
change to using termion's keyboard handling
- 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
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 75985e5..13f5ca0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -10,6 +10,7 @@ mod sort; mod tab; mod textfield; mod ui; +mod util; mod unix; mod window; @@ -67,9 +68,10 @@ fn main() { let keymap = JoshutoCommandMapping::get_config(); if args.debug { - eprintln!("config: {:#?}", config); - eprintln!("theme config: {:#?}", *THEME_T); - eprintln!("mimetype config: {:#?}", *MIMETYPE_T); + eprintln!("keymaps: {:#?}", keymap); + // eprintln!("config: {:#?}", config); + // eprintln!("theme config: {:#?}", *THEME_T); + // eprintln!("mimetype config: {:#?}", *MIMETYPE_T); } run(config, keymap); |