summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index b14bb93f..d856b31c 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1000,6 +1000,11 @@ class Input(Win):
self.line_pos = 0
self.rewrite_text()
+ def key_enter(self):
+ txt = self.get_text()
+ self.clear_text()
+ return txt
+
class MessageInput(Input):
"""
The input featuring history and that is being used in