From 2480eae5b0781caa8adf09af357cd42ad6a31306 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Sat, 5 Feb 2022 18:24:56 +0100 Subject: [PATCH] Revert "Fix websocket view jumps to top bug (#4845)" This reverts commit 278611bf778f3e89672a7ac53129f2a836f82e4a, which introduced a bug for the regular HTTP views, which would initially scroll to the bottom. fix #5089 --- mitmproxy/tools/console/searchable.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mitmproxy/tools/console/searchable.py b/mitmproxy/tools/console/searchable.py index 241ac4017..f2bb56126 100644 --- a/mitmproxy/tools/console/searchable.py +++ b/mitmproxy/tools/console/searchable.py @@ -19,7 +19,6 @@ class Searchable(urwid.ListBox): def __init__(self, contents): self.walker = urwid.SimpleFocusListWalker(contents) urwid.ListBox.__init__(self, self.walker) - self.set_focus(len(self.walker) - 1) self.search_offset = 0 self.current_highlight = None self.search_term = None