Author: czarny Date: Thu Feb 28 17:50:14 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - new
---- Files affected: SOURCES: itop-xterm-color.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/itop-xterm-color.patch diff -u /dev/null SOURCES/itop-xterm-color.patch:1.1 --- /dev/null Thu Feb 28 18:50:14 2008 +++ SOURCES/itop-xterm-color.patch Thu Feb 28 18:50:09 2008 @@ -0,0 +1,18 @@ +--- iotop.py.orign 2007-11-03 18:46:19.000000000 +0100 ++++ iotop.py 2007-12-28 14:37:05.000000000 +0100 +@@ -440,9 +440,12 @@ + if not self.options.batch: + self.win = win + self.resize() +- curses.use_default_colors() +- curses.start_color() +- curses.curs_set(0) ++ try: ++ curses.use_default_colors() ++ curses.start_color() ++ curses.curs_set(0) ++ except: ++ pass + + def resize(self): + self.height, self.width = self.win.getmaxyx() ================================================================ _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit