    def _get_pos(self):
        """
        Get current position for scroll bar.
        """
        if self._h >= len(self._options):
            return 0
        return self._start_line / (len(self._options) - self._h)
Get current position for scroll bar.
asciimatics/widgets/baselistbox.py