diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 0e42e69d9..aa277a488 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -332,6 +332,10 @@ class ConsoleState(flow.State): self.set_focus(self.focus) return ret + def clear(self): + self.focus = None + super(ConsoleState, self).clear() + class Options(object):