in src/pathpicker/screen_control.py [0:0]
def process_dirty(self) -> None:
if self.dirty:
self.print_all()
return
(_min_x, min_y, _max_x, max_y) = self.get_chrome_boundaries()
did_clear_line = False
for index in self.dirty_indexes:
y_pos = min_y + index + self.get_scroll_offset()
if min_y <= y_pos < max_y:
did_clear_line = True
self.clear_line(y_pos)
self.line_objs[index].output(self.color_printer)
if did_clear_line and self.helper_chrome.get_is_sidebar_mode():
# now we need to output the chrome again since on wide
# monitors we will have cleared out a line of the chrome
self.helper_chrome.output(self.mode)