Ë
    V.j  ã                  óz   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ dd	lmZ dd
lmZ dgZeZdd„Zy)zZ
Dummy layout. Used when somebody creates an `Application` without specifying a
`Layout`.
é    )Úannotations)ÚHTML)ÚKeyBindings)ÚKeyPressEventé   )ÚWindow)ÚFormattedTextControl)ÚD)ÚLayoutÚcreate_dummy_layoutc                 óº   — t        «       } | j                  d«      d	d„«       }t        t        d«      | ¬«      }t	        |t        d¬«      ¬«      }t        ||¬«      S )
z“
    Create a dummy layout for use in an 'Application' that doesn't have a
    layout specified. When ENTER is pressed, the application quits.
    Úenterc                ó8   — | j                   j                  «        y )N)ÚappÚexit)Úevents    ú]C:\xampp\htdocs\tradingbinance\backend\.venv\Lib\site-packages\prompt_toolkit/layout/dummy.pyr   z"create_dummy_layout.<locals>.enter   s   € à�	‰	�‰Õó    z<No layout specified. Press <reverse>ENTER</reverse> to quit.)Úkey_bindingsr   )Úmin)ÚcontentÚheight)Ú	containerÚfocused_element)r   ÚEÚreturnÚNone)r   Úaddr	   r   r   r
   r   )Úkbr   ÚcontrolÚwindows       r   r   r      s\   € ô
 
‹€Bà‡V�VˆGƒ_òó ðô #ÜÐKÓLØô€Gô ˜G¬A°!¬HÔ5€FÜ˜F°FÔ;Ð;r   N)r   r   )Ú__doc__Ú
__future__r   Úprompt_toolkit.formatted_textr   Úprompt_toolkit.key_bindingr   Ú(prompt_toolkit.key_binding.key_processorr   Ú
containersr   Úcontrolsr	   Ú	dimensionr
   Úlayoutr   Ú__all__r   r   © r   r   Ú<module>r-      s<   ðñõ
 #å .Ý 2Ý Bå Ý *Ý Ý ð ð€ð €ô<r   