code: def last_visible_line(self, before_scroll_offset=False):
          
          if before_scroll_offset:
              return self.displayed_lines[-1 - self.applied_scroll_offsets.bottom]
          else:
              return self.displayed_lines[-1]
docs: Like `first_visible_line`, but for the last visible line.