Format the content of the requested cell for display
(self, y, x, width)
| 908 | return self.strpad(s, width) |
| 909 | |
| 910 | def cellstr(self, y, x, width): |
| 911 | "Format the content of the requested cell for display" |
| 912 | if len(self.data) <= y or len(self.data[y]) <= x: |
| 913 | s = "" |
| 914 | else: |
| 915 | s = self.data[y][x] |
| 916 | return self.strpad(s, width) |
| 917 | |
| 918 | def _get_column_widths(self, width): |
| 919 | """Compute column width array |