(self, line: str)
| 740 | return start + self.colors[color] + text + self.NORMAL |
| 741 | |
| 742 | def is_marker_line(self, line: str) -> bool: |
| 743 | s_line = line.lstrip() |
| 744 | return ( |
| 745 | line.startswith(CODE_START) |
| 746 | and s_line.startswith("^") |
| 747 | and set(s_line).issubset({"^", "~"}) |
| 748 | ) |
| 749 | |
| 750 | def fit_in_terminal( |
| 751 | self, messages: list[str], fixed_terminal_width: int | None = None |
no test coverage detected