summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 7f578bd2..0b1755b1 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1918,3 +1918,9 @@ class Core(object):
if not isinstance(self.current_tab(), tabs.ChatTab):
return None
return self.current_tab().get_conversation_messages()
+
+ def insert_input_text(self, text):
+ """
+ Insert the given text into the current input
+ """
+ self.do_command(text, True)