Your IP : 18.119.117.77


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/tty.cpython-312.opt-1.pyc

�

�Q�f���V�dZddl�gd�ZdZdZdZdZdZdZd	Z	d
�Z
d�Zefd�Z
efd
�Zy)zTerminal utilities.�)�*)�	cfmakeraw�cfmakecbreak�setraw�	setcbreak������c�h�|txxttztztzt
ztztztztztztztzzcc<|txxtzcc<|txxt t"zzcc<|txxt$zcc<|t&xxt(t*zt,zt.zt0zt2zt4zt6zt8zzcc<t;|t<�|t<<d|t<t><d|t<t@<y)zMake termios mode raw.rrN)!�IFLAG�IGNBRK�BRKINT�IGNPAR�PARMRK�INPCK�ISTRIP�INLCR�IGNCR�ICRNL�IXON�IXANY�IXOFF�OFLAG�OPOST�CFLAG�PARENB�CSIZE�CS8�LFLAG�ECHO�ECHOE�ECHOK�ECHONL�ICANON�IEXTEN�ISIG�NOFLSH�TOSTOP�list�CC�VMIN�VTIME��modes �*/opt/alt/python312/lib64/python3.12/tty.pyrrs��
	��K�V�f�_�v�-��6��>��G���"�#�%*�+�-1�2�49�:�<A�B�C�C�K�	��K�E�6��K�	��K�V�e�^�$�$�K���K�3��K�	��K�T�E�\�E�)�F�2�V�;���"�#�%+�,�.4�5�6�6�K��D��H�~�D��H��D��H�T�N��D��H�U�O�c��|txxttzzcc<t|t�|t<d|tt
<d|tt<y)zMake termios mode cbreak.rrN)r"r#r'r,r-r.r/r0s r2rr.sF��	��K�T�F�]�#�#�K��D��H�~�D��H��D��H�T�N��D��H�U�Or3c�b�t|�}t|�}t|�t|||�|S)zPut terminal into raw mode.)�	tcgetattrr,r�	tcsetattr��fd�whenr1�news    r2rr;s,���R�=�D�
�t�*�C�
�c�N�
�b�$����Kr3c�b�t|�}t|�}t|�t|||�|S)zPut terminal into cbreak mode.)r6r,rr7r8s    r2rrCs-���R�=�D�
�t�*�C����
�b�$����Kr3N)�__doc__�termios�__all__rrrr"�ISPEED�OSPEEDr-rr�	TCSAFLUSHrr�r3r2�<module>rDsU����
>��	
��	��	��	��	
��	
�����8���!�r3

?>