Your IP : 3.144.37.178


Current Path : /opt/alt/python36/lib64/python3.6/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/__pycache__/tty.cpython-36.pyc

3

� fo�@sLdZddlTddgZdZdZdZdZdZd	Zd
Z	e
fdd�Ze
fdd�Zd
S)zTerminal utilities.�)�*�setraw�	setcbreak������cCs�t|�}|tttBtBtBtB@|t<|tt@|t<|t	t
tB@|t	<|t	tB|t	<|t
ttBtBtB@|t
<d|tt<d|tt<t|||�dS)zPut terminal into a raw mode.rrN)�	tcgetattr�IFLAGZBRKINTZICRNLZINPCKZISTRIPZIXON�OFLAGZOPOST�CFLAGZCSIZEZPARENBZCS8�LFLAG�ECHO�ICANONZIEXTENZISIG�CC�VMIN�VTIME�	tcsetattr)�fd�when�mode�r�(/opt/alt/python36/lib64/python3.6/tty.pyrs"cCsFt|�}|tttB@|t<d|tt<d|tt<t|||�dS)z Put terminal into a cbreak mode.rrN)rrrrrrrr)rrrrrrrs
N)
�__doc__Ztermios�__all__rr
rrZISPEEDZOSPEEDrZ	TCSAFLUSHrrrrrr�<module>s

?>