diff options
author | Aldo Cortesi <aldo@corte.si> | 2017-12-12 09:06:58 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2017-12-12 09:08:57 +1300 |
commit | 91a297969494aad68eb46163c004734223a4abd1 (patch) | |
tree | 8299e950081d6712f9fe606dcee1d0ed7f98b05c /docs/tutorials | |
parent | 322af02eb2520f41494447e89d0d7efa1eb8232e (diff) | |
download | mitmproxy-91a297969494aad68eb46163c004734223a4abd1.tar.gz mitmproxy-91a297969494aad68eb46163c004734223a4abd1.tar.bz2 mitmproxy-91a297969494aad68eb46163c004734223a4abd1.zip |
console: refactor console.flowview.mode
We now have:
console.flowview.mode gets the current mode
console.flowview.mode.options gets the possible options for the mode
console.flowview.mode.set sets the flowview mode
This is quite a common pattern in our commands, to the point where we should
formalise it.
Fixes #2655
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions