aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/console/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mitmproxy/console/__init__.py b/mitmproxy/console/__init__.py
index f7e7b0d5..f31c4bbc 100644
--- a/mitmproxy/console/__init__.py
+++ b/mitmproxy/console/__init__.py
@@ -58,6 +58,8 @@ class ConsoleState(flow.State):
super(ConsoleState, self).update_flow(f)
if self.focus is None:
self.set_focus(0)
+ elif self.follow_focus:
+ self.set_focus(self.flow_count())
return f
def set_limit(self, limit):