mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
When paging through flows in flowview, indicate when there are no more flows.
This commit is contained in:
parent
a6df72cfc8
commit
6dc945571d
@ -360,6 +360,7 @@ class FlowView(common.WWrap):
|
||||
else:
|
||||
new_flow, new_idx = self.state.get_prev(idx)
|
||||
if new_idx is None:
|
||||
self.master.statusbar.message("No more flows!")
|
||||
return
|
||||
self.master.view_flow(new_flow)
|
||||
|
||||
@ -387,7 +388,7 @@ class FlowView(common.WWrap):
|
||||
def keypress(self, size, key):
|
||||
if key == " ":
|
||||
self.view_next_flow(self.flow)
|
||||
return key
|
||||
return
|
||||
|
||||
key = common.shortcuts(key)
|
||||
if self.state.view_flow_mode == common.VIEW_FLOW_REQUEST:
|
||||
|
Loading…
Reference in New Issue
Block a user