diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2015-06-02 11:27:26 +1200 | 
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2015-06-02 11:27:26 +1200 | 
| commit | 1076c25e5b292b9c655e5acc3c587d06fe90b4c4 (patch) | |
| tree | c64d73da7b975d5574c566878c1a67df97ca55a1 | |
| parent | b5bb4106fd9a017b87fc9515bb3448b78497f80c (diff) | |
| download | mitmproxy-1076c25e5b292b9c655e5acc3c587d06fe90b4c4.tar.gz mitmproxy-1076c25e5b292b9c655e5acc3c587d06fe90b4c4.tar.bz2 mitmproxy-1076c25e5b292b9c655e5acc3c587d06fe90b4c4.zip  | |
console: click in flow list to view flow
| -rw-r--r-- | libmproxy/console/flowlist.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py index fd071569..39245984 100644 --- a/libmproxy/console/flowlist.py +++ b/libmproxy/console/flowlist.py @@ -158,6 +158,12 @@ class ConnectionItem(urwid.WidgetWrap):                  callback = self.master.server_playback_path              ) +    def mouse_event(self, size, event, button, col, row, focus): +        if event == "mouse press" and button == 1: +            if self.flow.request: +                self.master.view_flow(self.flow) +                return True +      def keypress(self, xxx_todo_changeme, key):          (maxcol,) = xxx_todo_changeme          key = common.shortcuts(key)  | 
