Do not empty search_string so user can continue to cycle through results with 'n' key
This commit is contained in:
parent
a9af9cabb4
commit
6326902287
|
@ -890,7 +890,6 @@ class AllTorrents(BaseMode, component.Component):
|
||||||
elif c == curses.KEY_END:
|
elif c == curses.KEY_END:
|
||||||
self.cursor = len(self.search_string)
|
self.cursor = len(self.search_string)
|
||||||
elif c in [10, curses.KEY_ENTER]:
|
elif c in [10, curses.KEY_ENTER]:
|
||||||
self.search_string = None
|
|
||||||
self.entering_search = False
|
self.entering_search = False
|
||||||
self.search_state = SEARCH_EMPTY
|
self.search_state = SEARCH_EMPTY
|
||||||
elif c == 27:
|
elif c == 27:
|
||||||
|
|
Loading…
Reference in New Issue