mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 14:58:38 +00:00
Add mitmproxy version to status bar on Help screen.
Suggested by Jim Cheetham <jim.cheetham@otago.ac.nz>
This commit is contained in:
parent
5810e7c0df
commit
bcda65e453
@ -16,7 +16,7 @@
|
||||
import mailcap, mimetypes, tempfile, os, subprocess, glob, time
|
||||
import os.path, sys
|
||||
import urwid
|
||||
from .. import controller, utils, flow
|
||||
from .. import controller, utils, flow, version
|
||||
import flowlist, flowview, help, common, kveditor, palettes
|
||||
|
||||
EVENTLOG_SIZE = 500
|
||||
@ -315,7 +315,8 @@ class ConsoleMaster(flow.FlowMaster):
|
||||
('heading_key', "?"), ":help ",
|
||||
]
|
||||
footer_text_help = [
|
||||
('heading_key', "q"), ":back",
|
||||
("heading", 'mitmproxy v%s '%version.VERSION),
|
||||
('heading_key', "q"), ":back ",
|
||||
]
|
||||
footer_text_flowview = [
|
||||
('heading_key', "?"), ":help ",
|
||||
|
Loading…
Reference in New Issue
Block a user