mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
Revert "Fix websocket view jumps to top bug (#4845)"
This reverts commit 278611bf77
,
which introduced a bug for the regular HTTP views,
which would initially scroll to the bottom.
fix #5089
This commit is contained in:
parent
4468046a26
commit
2480eae5b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user