From 10a9e3365fbfc0b0b789385a3a212ca01d332ab1 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 28 Jul 2013 18:00:49 +1200 Subject: Some refactoring of the console inteface. Reduce some state duplication, by removing currentflow variable. Fixes #141 --- libmproxy/console/common.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libmproxy/console/common.py') diff --git a/libmproxy/console/common.py b/libmproxy/console/common.py index d68aba3d..4f3ab090 100644 --- a/libmproxy/console/common.py +++ b/libmproxy/console/common.py @@ -18,6 +18,9 @@ import urwid.util from .. import utils, flow +VIEW_LIST = 0 +VIEW_FLOW = 1 + VIEW_FLOW_REQUEST = 0 VIEW_FLOW_RESPONSE = 1 -- cgit v1.2.3