Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/conch/insults/__pycache__/ |
Upload File : |
o �b2� � @ 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 � dS )zX Called with an L{ITerminalTransport} when a connection is established. N� )� transportr r �?/usr/lib/python3/dist-packages/twisted/conch/insults/insults.py�makeConnection � z ITerminalProtocol.makeConnectionc C r )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 r z#ITerminalProtocol.keystrokeReceivedc C r )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"