Use `?` to exit from help if already there (#4420)

* Use `?` to exit from help if already there

* Add `?` help exit shortcut to CHANGELOG
This commit is contained in:
Anatoli Babenia 2021-02-03 02:15:42 +03:00 committed by GitHub
parent fccc153fdb
commit 578514d4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,7 @@ If you depend on these features, please raise your voice in
`spoof_source_address`, and `stream_websockets`. If you depended on one of them please let us know.
mitmproxy never phones home, which means we don't know how prominently these options were used. (@mhils)
* Fix IDNA host 'Bad HTTP request line' error (@grahamrobbins)
* Pressing `?` now exits console help view (@abitrolly)
* --- TODO: add new PRs above this line ---
* ... and various other fixes, documentation improvements, dependency version bumps, etc.

View File

@ -13,6 +13,8 @@ def map(km):
km.add("ctrl right", "console.panes.next", ["global"], "Focus next layout pane")
km.add("P", "console.view.flow @focus", ["global"], "View flow details")
km.add("?", "console.view.pop", ["help"], "Exit help")
km.add("g", "console.nav.start", ["global"], "Go to start")
km.add("G", "console.nav.end", ["global"], "Go to end")
km.add("k", "console.nav.up", ["global"], "Up")