
    ^h                    P    S SK Jr  S SKrS SKJr  SSKJrJr  S/r " S S\5      r	g)    )annotationsN)SelectionType   )	ClipboardClipboardDataPyperclipClipboardc                  6    \ rS rSrSrSS jrS	S jrS
S jrSrg)r      zf
Clipboard that synchronizes with the Windows/Mac/Linux system clipboard,
using the pyperclip module.
c                    S U l         g N_data)selfs    \/home/james-whalen/.local/lib/python3.13/site-packages/prompt_toolkit/clipboard/pyperclip.py__init__PyperclipClipboard.__init__   s	    +/
    c                P    Xl         [        R                  " UR                  5        g r   )r   	pyperclipcopytext)r   datas     r   set_dataPyperclipClipboard.set_data   s    
tyy!r   c                    [         R                  " 5       nU R                  (       a&  U R                  R                  U:X  a  U R                  $ [	        USU;   a  [
        R                  S9$ [
        R                  S9$ )N
)r   type)r   paster   r   r   r   LINES
CHARACTERS)r   r   s     r   get_dataPyperclipClipboard.get_data   sd     
 ::$**//T1::
 !,0DL](( >K>V>V r   r   N)returnNone)r   r   r#   r$   )r#   r   )	__name__
__module____qualname____firstlineno____doc__r   r   r!   __static_attributes__ r   r   r   r      s    
0"r   )

__future__r   r   prompt_toolkit.selectionr   baser   r   __all__r   r+   r   r   <module>r0      s)    "  2 * 
 r   