| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/prompt_toolkit/layout/__pycache__/ |
Upload File : |
�
�Ïc� � �t � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ dd l
mZ d
gZeZdefd�Zd
S )zZ
Dummy layout. Used when somebody creates an `Application` without specifying a
`Layout`.
� )�HTML)�KeyBindings)�
KeyPressEvent� )�Window)�FormattedTextControl)�D)�Layout�create_dummy_layout�returnc �
� t � � } | � d� � dt ddfd�� � }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.
�enter�eventr Nc �8 � | j � � � d S )N)�app�exit)r s �=/usr/lib/python3/dist-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 �add�Er r r r r
)�kbr �control�windows r r r s� � �
���B��V�V�G�_�_��Q� �4� � � � �_�� #��
K�L�L��� � �G� �G�A�!�H�H�H�
5�
5�
5�F��F�F�;�;�;�;r N)�__doc__�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� 2� 2� 2� 2� 2� B� B� B� B� B� B� � � � � � � *� *� *� *� *� *� � � � � � � � � � � � � ��� ��<�V� <� <� <� <� <� <r