| 310 | |
| 311 | |
| 312 | class StatusLine: |
| 313 | def __init__(self): |
| 314 | self.max_width = 0 |
| 315 | |
| 316 | def print(self, statusline, end="\r", file=sys.stdout): |
| 317 | self.max_width = max(self.max_width, len(statusline)) |
| 318 | print("{0:<{1}}".format(statusline, self.max_width), |
| 319 | end=end, file=file, flush=True) |
| 320 | |
| 321 | |
| 322 | class CommandSplitter: |
no outgoing calls
no test coverage detected
searching dependent graphs…