diff options
Diffstat (limited to 'libmproxy/console/kveditor.py')
-rw-r--r-- | libmproxy/console/kveditor.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmproxy/console/kveditor.py b/libmproxy/console/kveditor.py index 95b703be..40387a56 100644 --- a/libmproxy/console/kveditor.py +++ b/libmproxy/console/kveditor.py @@ -167,8 +167,10 @@ class KVEditor(common.WWrap): if key in ["esc", "enter"]: self.walker.stop_edit() elif key == "tab": + pf = self.walker.focus self.walker.tab_next() - self.walker.start_edit() + if self.walker.focus == pf: + self.walker.start_edit() else: self.w.keypress(size, key) return None |