summaryrefslogtreecommitdiffstats
path: root/src/repl/handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/handler.rs')
-rw-r--r--src/repl/handler.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repl/handler.rs b/src/repl/handler.rs
index 8d51439..c38f607 100644
--- a/src/repl/handler.rs
+++ b/src/repl/handler.rs
@@ -64,6 +64,7 @@ impl ReplCmdHandler {
wg.wait();
let buffer = ret?;
self.config.read().save_message(&input, &buffer)?;
+ let _ = self.config.read().copy_message(&buffer);
self.config.write().save_conversation(&input, &buffer)?;
*self.reply.borrow_mut() = buffer;
}