summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/data_forms.py2
-rw-r--r--poezio/windows/data_forms.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/poezio/tabs/data_forms.py b/poezio/tabs/data_forms.py
index 0edf9e89..c73f4922 100644
--- a/poezio/tabs/data_forms.py
+++ b/poezio/tabs/data_forms.py
@@ -52,7 +52,7 @@ class DataFormsTab(Tab):
self.help_win_dyn.refresh(self.form_win.get_help_message())
self.form_win.refresh_current_input()
else:
- self.form_win.on_input(key)
+ self.form_win.on_input(key, raw=raw)
def resize(self):
self.need_resize = False
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()