mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
Refactor flow list state management
- Use signal mechanism for state synchronisation - Move "Copy to clipboard" shortcut to "P"
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import urwid
|
||||
|
||||
from . import common, signals, grideditor, contentview
|
||||
from . import select
|
||||
from . import select, palettes
|
||||
|
||||
footer = [
|
||||
('heading_key', "enter/space"), ":toggle ",
|
||||
@@ -60,7 +60,7 @@ class Options(urwid.WidgetWrap):
|
||||
select.Option(
|
||||
"Palette",
|
||||
"P",
|
||||
lambda: False,
|
||||
lambda: self.master.palette != palettes.DEFAULT,
|
||||
self.palette
|
||||
),
|
||||
select.Option(
|
||||
|
||||
Reference in New Issue
Block a user