Server IP : 15.235.198.142 / Your IP : 216.73.216.240 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/conch/insults/__pycache__/ |
Upload File : |
� Ϫ�f/� � �> � d Z ddlmZmZ ddlmZmZmZ ddl m Z mZ G d� de� Z ee� G d� d� � Z G d � d ej � ZdZdd iZ G d� d� Z G d� d� ZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ! G d� d � Z"d!� Z#d"Z$ G d#� d$� Z%e$D � cg c] } e%| � jM � �� c} Z' ee� G d%� d&ejP � � Z) e*e$e'� D ] \ Z+Z, e-e)e+e,� � G d'� d(ejP � Z.g d)�Z/y*c c} w )+z? VT102 and VT220 terminal manipulation. @author: Jp Calderone � )� Interface�implementer)�defer� interfaces�protocol)� iterbytes� networkStringc �* � e Zd Zd� Zd� Zd� Zd� Zd� Zy)�ITerminalProtocolc � � y)zX Called with an L{ITerminalTransport} when a connection is established. N� )� transports �?/usr/lib/python3/dist-packages/twisted/conch/insults/insults.py�makeConnectionz ITerminalProtocol.makeConnection � � � c � � y)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�modifiers r �keystrokeReceivedz#ITerminalProtocol.keystrokeReceived r r c � � y)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�heights r �terminalSizezITerminalProtocol.terminalSize"