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:
Maximilian Hils 2022-02-05 18:24:56 +01:00
parent 4468046a26
commit 2480eae5b0

View File

@ -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