diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 13:28:35 -0400 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-06-04 13:46:08 -0400 |
commit | 735b51f6c350b97feb4f0f43bf3f9fc15858d1fd (patch) | |
tree | de3ff1cf019e216b3bd6bd2dccb4c823d74370a3 /src | |
parent | 7036a7e6ff57b7e5e4b99133ea7466a3b24bf0ce (diff) | |
parent | 72b19d4acf0b68683629d62df2cbf1c556ae424b (diff) |
merge 'dev' with 'dev'
Diffstat (limited to 'src')
-rw-r--r-- | src/run.rs | 2 | ||||
-rw-r--r-- | src/ui.rs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -155,7 +155,7 @@ pub fn run(config_t: JoshutoConfig, keymap_t: JoshutoCommandMapping) { if !context.threads.is_empty() { ncurses::timeout(0); match process_threads(&mut context, &view) { - Ok(()) => {} + Ok(_) => {} Err(e) => ui::wprint_err(&view.bot_win, e.to_string().as_str()), } ncurses::doupdate(); @@ -198,6 +198,7 @@ pub fn display_contents( wprint_empty(win, "empty"); return; } + let draw_func = if options.detailed { wprint_entry_detailed } else { |