Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/conch/insults/__pycache__/insults.cpython-39.pyc
Ðазад
a k�h2� � @ s` d Z ddlmZmZ ddlmZmZmZ ddl m Z mZ G dd� de�Zee�G dd� d��Z G d d � d ej�ZdZdd iZG dd� d�ZG dd� d�ZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!G dd � d �Z"d!d"� Z#d#Z$G d$d%� d%�Z%d&d'� e$D �Z&ee�G d(d)� d)ej'��Z(e)e$e&�D ]\Z*Z+e,e(e*e+� �q*G d*d+� d+ej'�Z-g d,�Z.d-S ).z? VT102 and VT220 terminal manipulation. @author: Jp Calderone � )� Interface�implementer)�defer� interfaces�protocol)� iterbytes� networkStringc @ s4 e Zd Zdd� Zdd� Zdd� Zdd� Zd d � ZdS )�ITerminalProtocolc C s dS )zX Called with an L{ITerminalTransport} when a connection is established. N� )� transportr r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/conch/insults/insults.py�makeConnection s z ITerminalProtocol.makeConnectionc C s dS )a` A keystroke was received. Each keystroke corresponds to one invocation of this method. keyID is a string identifier for that key. Printable characters are represented by themselves. Control keys, such as arrows and function keys, are represented with symbolic constants on L{ServerProtocol}. Nr )�keyID�modifierr r r �keystrokeReceived s z#ITerminalProtocol.keystrokeReceivedc C s dS )z� Called to indicate the size of the terminal. A terminal of 80x24 should be assumed if this method is not called. This method might not be called for real terminals. Nr )�width�heightr r r �terminalSize"