diff options
Diffstat (limited to 'src/commands/sub_process.rs')
-rw-r--r-- | src/commands/sub_process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/sub_process.rs b/src/commands/sub_process.rs index fc31278..7650d21 100644 --- a/src/commands/sub_process.rs +++ b/src/commands/sub_process.rs @@ -55,13 +55,13 @@ pub fn sub_process( ) -> JoshutoResult { backend.terminal_drop(); let res = execute_sub_process(context, words, spawn); - reload::soft_reload_curr_tab(context)?; + backend.terminal_restore()?; + let _ = reload::soft_reload_curr_tab(context); context.message_queue_mut().push_info(format!( "{}: {}", if spawn { "Spawned" } else { "Finished" }, words.join(" ") )); - backend.terminal_restore()?; res?; Ok(()) } |