OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python38
/
lib64
/
python3.8
/
curses
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2025 06:55:16 AM
rwxr-xr-x
📄
__init__.cpython-38.opt-1.pyc
2.1 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
__init__.cpython-38.opt-2.pyc
1.59 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
__init__.cpython-38.pyc
2.1 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
ascii.cpython-38.opt-1.pyc
3.88 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
ascii.cpython-38.opt-2.pyc
3.81 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
ascii.cpython-38.pyc
3.88 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.opt-1.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.opt-2.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
has_key.cpython-38.pyc
4.46 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
panel.cpython-38.opt-1.pyc
238 bytes
09/23/2024 11:50:24 AM
rw-r--r--
📄
panel.cpython-38.opt-2.pyc
170 bytes
09/23/2024 11:50:26 AM
rw-r--r--
📄
panel.cpython-38.pyc
238 bytes
09/23/2024 11:50:24 AM
rw-r--r--
📄
textpad.cpython-38.opt-1.pyc
5.78 KB
09/23/2024 11:50:24 AM
rw-r--r--
📄
textpad.cpython-38.opt-2.pyc
4.26 KB
09/23/2024 11:50:26 AM
rw-r--r--
📄
textpad.cpython-38.pyc
5.78 KB
09/23/2024 11:50:24 AM
rw-r--r--
Editing: __init__.cpython-38.opt-1.pyc
Close
U i�f� � @ sh d Z ddlT ddlZddlZdd� Zdd� Zze W n e k rT dd lmZ Y nX d d� Z de _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 C sp dd l } dd l}ttj�dd�tj�� d� | � � }| j �� D ],\}}|dd� dks^|dkr>t|||� q>|S )Nr ZTERM�unknown)Zterm�fd� ZACS_)ZLINESZCOLS) �_curses�cursesZ setupterm�_os�environ�get�_sys� __stdout__�fileno�initscr�__dict__�items�setattr)r r �stdscr�key�value� r �4/opt/alt/python38/lib64/python3.8/curses/__init__.pyr s �r c C s@ 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 Zretvalr r r r * s r � )�has_keyc O s� | r| ^}} n<d|kr:|� d�}ddl}|jdtdd� ntdt| � ��zHt� }t� t � |�d � z t� W n Y nX ||f| �|�W �S dt� kr�|�d� t� t � t � X dS ) a Wrapper function that initializes curses and calls another function, restoring normal keyboard/screen behavior on error. The callable object 'func' is then passed the main window 'stdscr' as its first argument, followed by any other arguments passed to wrapper(). �funcr Nz0Passing 'func' as keyword argument is deprecated� )� stacklevelz7wrapper expected at least 1 positional argument, got %dr r )�pop�warnings�warn�DeprecationWarning� TypeError�len�localsZkeypadZechoZnocbreakZendwinr ZnoechoZcbreakr )�args�kwdsr r! r r r r �wrapper? s6 �� r) z(func, /, *args, **kwds))�__doc__r �osr �sysr r r r � NameErrorr) �__text_signature__r r r r �<module> s 2