The display lines (wrapped, colored, +prompts) of current buffer
(self)
| 1452 | |
| 1453 | @property |
| 1454 | def display_buffer_lines(self): |
| 1455 | """The display lines (wrapped, colored, +prompts) of current buffer""" |
| 1456 | lines = [] |
| 1457 | for display_line in self.display_buffer: |
| 1458 | prompt = func_for_letter(self.config.color_scheme["prompt"]) |
| 1459 | more = func_for_letter(self.config.color_scheme["prompt_more"]) |
| 1460 | display_line = ( |
| 1461 | more(self.ps2) if lines else prompt(self.ps1) |
| 1462 | ) + display_line |
| 1463 | for line in paint.display_linize(display_line, self.width): |
| 1464 | lines.append(line) |
| 1465 | return lines |
| 1466 | |
| 1467 | @property |
| 1468 | def display_line_with_prompt(self): |
nothing calls this directly
no test coverage detected