(msg: str)
| 34 | |
| 35 | |
| 36 | def _len_cjk(msg: str) -> int: |
| 37 | widths = {'A': 1, 'F': 2, 'H': 1, 'N': 1, 'Na': 1, 'W': 2} |
| 38 | return sum(widths[unicodedata.east_asian_width(c)] for c in msg) |
| 39 | |
| 40 | |
| 41 | def _start_msg(*, start: str, cols: int, end_len: int) -> str: |
no outgoing calls
no test coverage detected