diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index 63b4db36d..2d4b71af0 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -448,9 +448,11 @@ class FlowView(common.WWrap): ) key = None elif key == "m": + p = list(contentview.VIEW_PROMPT) + p.insert(0, ("clear", "c")) self.master.prompt_onekey( "Display mode", - contentview.VIEW_PROMPT, + p, self.change_this_display_mode ) key = None