summaryrefslogtreecommitdiffstats
path: root/src/commands/shell.rs
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-08-30 15:20:03 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-08-30 15:20:03 -0400
commite7218c81d90ae07d7f56dce0c3032db15b11d118 (patch)
tree63c3b63345ec73031b26c1b900957ad06b69aec6 /src/commands/shell.rs
parenta592bfe51c0cbb7744f14586520827cb06da8c8d (diff)
rework and fix issues
- fixed bug where io tasks would not run when user is in a textfield or prompt - fixed bug where cut doesn't work - rework structs to have private fields and public functions - move IOWorkerObserver into seperate file - move code from TuiView to TuiFolderView
Diffstat (limited to 'src/commands/shell.rs')
-rw-r--r--src/commands/shell.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/commands/shell.rs b/src/commands/shell.rs
index 5a0c31d..69406b9 100644
--- a/src/commands/shell.rs
+++ b/src/commands/shell.rs
@@ -61,9 +61,7 @@ impl JoshutoRunnable for ShellCommand {
backend.terminal_drop();
let res = self.shell_command(context);
ReloadDirList::soft_reload(context.tab_context_ref().get_index(), context)?;
- context
- .message_queue
- .push_back(format!("Finished: {}", self.words.join(" ")));
+ context.push_msg(format!("Finished: {}", self.words.join(" ")));
backend.terminal_restore()?;
res?;
Ok(())