mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Highlight intercepted TCP messages
This commit is contained in:
parent
199bd795b3
commit
bace253682
@ -164,6 +164,10 @@ class FlowDetails(tabs.Tabs):
|
||||
|
||||
from_client = not from_client
|
||||
|
||||
if flow.intercepted:
|
||||
markup = widget_lines[-1].get_text()[0]
|
||||
widget_lines[-1].set_text(("intercept", markup))
|
||||
|
||||
widget_lines.insert(0, self._contentview_status_bar(viewmode.capitalize(), viewmode))
|
||||
|
||||
return searchable.Searchable(widget_lines)
|
||||
|
Loading…
Reference in New Issue
Block a user