| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 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.11/curses/__pycache__/ |
Upload File : |
�
�j)
� �^ � d Z ddlT ddlZddlZd� Zd� Z e n# e $ r ddlmZ Y nw xY wd� Z
dS ) 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 �X � dd l } dd l}t t j � dd� � t j � � � �� � | � � � }| j
� � � D ](\ }}|dd� dk s|dv rt |||� � �)|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 �&/usr/lib/python3.11/curses/__init__.pyr r s� � ��������� �3�;�?�?�6�9�5�5���'�'�)�)�+� +� +� +�
�_�_�
�
�F��&�,�,�.�.� (� (�
��U��q��s�8�v����(9�!9�!9��F�C��'�'�'���M� c � � dd l } dd l}| � � � }t | d� � r| j |_ t | d� � r| j |_ |S )Nr �COLORS�COLOR_PAIRS)r
r �start_color�hasattrr r! )r
r �retvals r r"