Add an option to allow clearing of display mode override.
This commit is contained in:
parent
7ed1c1c231
commit
42d06a05c0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue