Method: rich.rule.Rule._rule_line
Calls: 15, Exceptions: 0, Paths: 1Back
Path 1: 15 calls (1.0)
1 (13) 2 (2)
16 (4) 4 (4) 100 (2) 2 (2) 3 (1) 12 (1) 1 (1)
Text (15)
1def _rule_line(self, chars_len: int, width: int) -> Text:
2 rule_text = Text(self.characters * ((width // chars_len) + 1), self.style)
3 rule_text.truncate(width)
4 rule_text.plain = set_cell_size(rule_text.plain, width)
5 return rule_text