| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Python312/Lib/curses/__pycache__/ |
Upload File : |
�
���g�
� �b � d Z ddl� ddlZddlZd� Zd� Z e d� Z
y# e $ r ddlmZ Y d� Z
yw xY w) z�curses
The main package for curses support for Python. Normally used by importing
the package, and perhaps a particular module inside it.
import curses
from curses import textpad
curses.initscr()
...
� )�*Nc �< � dd l } dd l}t t j j dd� t j j � �� | j � }| j j � D ] \ }}|dd dk( s|dv s�t |||� �! |S )Nr �TERM�unknown)�term�fd� �ACS_)�LINES�COLS)
�_curses�curses� setupterm�_os�environ�get�_sys�
__stdout__�fileno�initscr�__dict__�items�setattr)r
r �stdscr�key�values �$C:\Python312\\Lib\curses\__init__.pyr r s� � �� �3�;�;�?�?�6�9�5����'�'�)�+�
�_�_�
�F��&�&�,�,�.�
��U��q��8�v���(9�!9��F�C��'� /� �M� c � � dd l } dd l}| j � }t | d� r| j |_ t | d� r| j
|_ |S )Nr �COLORS�COLOR_PAIRS)r
r �start_color�hasattrr r! )r
r �retvals r r"