summaryrefslogtreecommitdiff
path: root/poezio/windows/data_forms.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-10-05 19:36:42 +0200
committermathieui <mathieui@mathieui.net>2016-10-05 19:37:34 +0200
commiteacc5a6fb188af6b7027064e4bc34212729334dd (patch)
tree12bc8ce7cc0f33b990d07a2aca774f6e4242c1e2 /poezio/windows/data_forms.py
parent361aea1440973839b786cd6ca223c5a39e81410e (diff)
downloadpoezio-eacc5a6fb188af6b7027064e4bc34212729334dd.tar.gz
poezio-eacc5a6fb188af6b7027064e4bc34212729334dd.tar.bz2
poezio-eacc5a6fb188af6b7027064e4bc34212729334dd.tar.xz
poezio-eacc5a6fb188af6b7027064e4bc34212729334dd.zip
Fix #3100 (Allow pasting in a data form)
Diffstat (limited to 'poezio/windows/data_forms.py')
-rw-r--r--poezio/windows/data_forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py
index 53a0adca..7b405747 100644
--- a/poezio/windows/data_forms.py
+++ b/poezio/windows/data_forms.py
@@ -433,10 +433,10 @@ class FormWin(object):
self.inputs[self.current_input]['input'].set_color(get_theme().COLOR_SELECTED_ROW)
self.inputs[self.current_input]['label'].set_color(get_theme().COLOR_SELECTED_ROW)
- def on_input(self, key):
+ def on_input(self, key, raw=False):
if not self.inputs:
return
- self.inputs[self.current_input]['input'].do_command(key)
+ self.inputs[self.current_input]['input'].do_command(key, raw=raw)
def refresh(self):
self._win.erase()