def output()

in src/pathpicker/line_format.py [0:0]


    def output(self, printer: ColorPrinter) -> None:
        assert self.controller is not None
        (min_x, min_y, max_x, max_y) = self.controller.get_chrome_boundaries()
        max_len = min(max_x - min_x, len(str(self)))
        y_pos = min_y + self.index + self.controller.get_scroll_offset()

        if y_pos < min_y or y_pos >= max_y:
            # wont be displayed!
            return

        self.formatted_line.print_text(y_pos, min_x, printer, max_len)