Lines Matching refs:pad
84 def print_stats_curses(self, pad): argument
86 height, width = pad.getmaxyx()
87 pad.clear()
88 pad.addstr(0, 2, 'NAME'.ljust(68), curses.A_REVERSE)
89 pad.addstr(0, 70, 'ADDED (MB)'.ljust(12), curses.A_REVERSE)
90 pad.addstr(0, 82, 'REMOVED (MB)'.ljust(14), curses.A_REVERSE)
91 pad.addstr(0, 96, 'SIZE (MB)'.ljust(9), curses.A_REVERSE)
99 pad.addstr(y, 2, filename)
100 pad.addstr(y, 70, self.pages_to_mb(added).rjust(10))
101 pad.addstr(y, 80, self.pages_to_mb(removed).rjust(14))
102 pad.addstr(y, 96, self.bytes_to_mb(filesize).rjust(9))
105 pad.addstr(y, 4, "<more...>")
108 pad.addstr(y, 2, 'TOTAL'.ljust(74), curses.A_REVERSE)
109 pad.addstr(y, 70, str(self.pages_to_mb(self._total_pages_added)).rjust(10), curses.A_REVERSE)
110 pad.addstr(y, 80, str(self.pages_to_mb(self._total_pages_removed)).rjust(14), curses.A_REVERSE)
111 pad.refresh(0,0, 0,0, height,width)