diff options
Diffstat (limited to 'libmproxy/console/__init__.py')
-rw-r--r-- | libmproxy/console/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 6fc76160..3e98ed2d 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -486,6 +486,7 @@ class ConsoleMaster(flow.FlowMaster): ('offset', 'dark cyan', 'default'), # KV Editor + ('focusfield', 'dark cyan', 'default'), ('editfield', 'black', 'light cyan'), ] @@ -536,9 +537,9 @@ class ConsoleMaster(flow.FlowMaster): self.header = None self.make_view() - def view_kveditor(self, title, value, callback): + def view_kveditor(self, title, value, callback, *args, **kwargs): self.statusbar = StatusBar(self, "foo") - self.body = kveditor.KVEditor(self, title, value, callback) + self.body = kveditor.KVEditor(self, title, value, callback, *args, **kwargs) self.header = None self.make_view() |