(self)
return (output.decode(ENCODING, 'replace').replace(u'\r\n', u'\r').replace(u'\n', u'\r'))
Get unicode text from clipboard.
Get unicode text from clipboard.
Get unicode text from clipboard .
def paste(self):
        """Get unicode text from clipboard."""
        output = subprocess.check_output([self._command, '-o'] + self._notmouse)
        return (output.decode(ENCODING, 'replace').replace(u'\r\n', u'\r').replace(u'\n', u'\r'))
def paste ( self ) : output = subprocess . check_output ( [ self . _command , '-o' ] + self . _notmouse ) return ( output . decode ( ENCODING , 'replace' ) . replace ( u'\r\n' , u'\r' ) . replace ( u'\n' , u'\r' ) )