(self, txt: str, end: Optional[str] = None)
| 219 | sys.stdout.write("".join([self.colours[c] for c in colours])) |
| 220 | |
| 221 | def print(self, txt: str, end: Optional[str] = None): |
| 222 | if end is not None: |
| 223 | print(txt, end=end) |
| 224 | else: |
| 225 | print(txt) |
| 226 | |
| 227 | |
| 228 | class Txt(Console): |
no test coverage detected