Format the content of the requested header for display
(self, x, width)
| 900 | return buf |
| 901 | |
| 902 | def hdrstr(self, x, width): |
| 903 | "Format the content of the requested header for display" |
| 904 | if len(self.header) <= x: |
| 905 | s = "" |
| 906 | else: |
| 907 | s = self.header[x] |
| 908 | return self.strpad(s, width) |
| 909 | |
| 910 | def cellstr(self, y, x, width): |
| 911 | "Format the content of the requested cell for display" |