diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-14 18:22:18 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2020-03-14 18:23:14 -0400 |
commit | d5466b503e0ba0f88682654dc7ce28cf2f4393c8 (patch) | |
tree | 9ce09bb4100b3f12480f6db2eb951ec48e9795b4 /src/run.rs | |
parent | 032258fcd42761719561a43e52c1a264b92cf067 (diff) |
rework input event thread handling
- this fixes issues where joshuto steals the inputs of
terminal applications after file operations have been done
Diffstat (limited to 'src/run.rs')
-rw-r--r-- | src/run.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,6 +98,7 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) -> std::io: } } } + context.events.flush(); } } let mut view = TuiView::new(&context); @@ -109,6 +110,5 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) -> std::io: } } } - eprintln!("{:#?}", context.message_queue); Ok(()) } |