(self, sep="\u2504", left="\u251C", right="\u2524", width=None)
| 88 | return len(cls.ANSI_RE.sub("", line)) |
| 89 | |
| 90 | def print_separator(self, sep="\u2504", left="\u251C", right="\u2524", width=None): |
| 91 | if width is None: |
| 92 | width = self.width |
| 93 | |
| 94 | secho(f"{left}{sep*(width-2)}{right}", file=self.fd, color=TTY_COLORS) |
| 95 | |
| 96 | def print_thick_separator(self): |
| 97 | self.print_separator(left="\u255E", sep="\u2550", right="\u2561") |
no outgoing calls
no test coverage detected