def _rc_copy(self):
        """
        Called on "Copy" in rc_menu. Copy selected content to clipboard.
        """
        sr = self.terminal.selected_range
        selected_text = self.terminal.text[sr[0]:sr[1]]
        self.stash.libdist.clipboard_set(selected_text)

        Called on "Copy" in rc_menu. Copy selected content to clipboard.
        
system/shui/tkui.py