summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.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/command_line.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/command_line.rs')
-rw-r--r--src/commands/command_line.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index e83ded3..52a5925 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -27,7 +27,7 @@ impl CommandLine {
.prompt(":")
.prefix(self.prefix.as_str())
.suffix(self.suffix.as_str())
- .get_input(backend, &context);
+ .get_input(backend, context);
if let Some(s) = user_input {
let trimmed = s.trim_start();