summaryrefslogtreecommitdiffstats
path: root/src/commands/command_line.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/command_line.rs')
-rw-r--r--src/commands/command_line.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/command_line.rs b/src/commands/command_line.rs
index 80e907b..6589fb4 100644
--- a/src/commands/command_line.rs
+++ b/src/commands/command_line.rs
@@ -31,9 +31,9 @@ impl CommandLine {
1,
term_cols,
(term_rows as usize - 1, 0),
- PROMPT.to_string(),
- self.prefix.clone(),
- self.suffix.clone(),
+ PROMPT,
+ &self.prefix,
+ &self.suffix,
);
textfield.readline()
};