(self)
Copy screen characters from selection into clipboard.
Copy screen characters from selection into clipboard.
Copy screen characters from selection into clipboard .
def copy(self):
        """Copy screen characters from selection into clipboard."""
        start, stop = self.select_start, self.select_stop
        if not start or not stop:
            return
        if start[0] == stop[0] and start[1] == stop[1]:
            return
        if start[0] > stop[0] or (start[0] == stop[0] and start[1] > stop[1]):
            start, stop = stop, start
        self._input_queue.put(signals.Event(
                signals.CLIP_COPY, (start[0], start[1], stop[0], stop[1])))
def copy ( self ) : start , stop = self . select_start , self . select_stop if not start or not stop : return if start [ 0 ] == stop [ 0 ] and start [ 1 ] == stop [ 1 ] : return if start [ 0 ] > stop [ 0 ] or ( start [ 0 ] == stop [ 0 ] and start [ 1 ] > stop [ 1 ] ) : start , stop = stop , start self . _input_queue . put ( signals . Event ( signals . CLIP_COPY , ( start [ 0 ] , start [ 1 ] , stop [ 0 ] , stop [ 1 ] ) ) )