def get_cursor_right_position(self, count=1):
        return min(count, len(self.current_line_after_cursor))
Relative position for cursor_right.
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/document.py/Document.get_cursor_right_position