def show_line(self):
        """
        Update the text with the the current index in lines.
        """
        assert self._lines, "lines arr should have been initialised"

        line = self._lines[self._line_index]

        self.update(line)

        Update the text with the the current index in lines.
        
libqtile/widget/redshift.py