diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2011-03-14 15:56:25 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2011-03-14 15:56:25 +1300 |
commit | 9b961a8236ea4f9486f18046239d3d3c26f5ca9f (patch) | |
tree | 8a022e667c4b83d6e972d956b47423f33deddfbd /libmproxy | |
parent | 2e70a0e44bb8f51e97b1c611d15d4e7d69791602 (diff) | |
download | mitmproxy-9b961a8236ea4f9486f18046239d3d3c26f5ca9f.tar.gz mitmproxy-9b961a8236ea4f9486f18046239d3d3c26f5ca9f.tar.bz2 mitmproxy-9b961a8236ea4f9486f18046239d3d3c26f5ca9f.zip |
Use raw_display instead of curses_display.
Diffstat (limited to 'libmproxy')
-rw-r--r-- | libmproxy/console.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py index 757f11c8..ee8d54e5 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -16,7 +16,7 @@ import Queue, mailcap, mimetypes, tempfile, os, subprocess, glob, time import os.path, sys import cStringIO -import urwid.curses_display +import urwid.raw_display import urwid import controller, utils, filt, proxy, flow @@ -992,7 +992,7 @@ class ConsoleMaster(flow.FlowMaster): self.viewstate = VIEW_CONNLIST self.currentflow = None - self.ui = urwid.curses_display.Screen() + self.ui = urwid.raw_display.Screen() self.ui.register_palette(self.palette) self.conn_list_view = ConnectionListView(self, self.state) @@ -1027,7 +1027,7 @@ class ConsoleMaster(flow.FlowMaster): self.make_view() def view_connlist(self): - if self.ui.s: + if self.ui.started: self.ui.clear() if self.currentflow: try: |