Known subclasses: twisted.conch.manhole.Manhole

TerminalProtocol which adds both basic line-editing features and input history.

Everything supported by RecvLine is also supported by this class. In addition, the up and down arrows traverse the input history. Each received line is automatically added to the end of the input history.

Method connectionMade Called after a connection has been established.
Method currentHistoryBuffer Undocumented
Method handle_UP Undocumented
Method handle_DOWN Undocumented
Method handle_RETURN Undocumented
Method _deliverBuffer Undocumented

Inherited from RecvLine:

Method initializeScreen Undocumented
Method currentLineBuffer Undocumented
Method setInsertMode Undocumented
Method setTypeoverMode Undocumented
Method drawInputLine Write a line containing the current input prompt and the current line buffer at the current cursor position.
Method terminalSize Called to indicate the size of the terminal.
Method unhandledControlSequence Called when an unsupported control sequence is received.
Method keystrokeReceived A keystroke was received.
Method characterReceived Undocumented
Method handle_TAB Undocumented
Method handle_LEFT Undocumented
Method handle_RIGHT Undocumented
Method handle_HOME Undocumented
Method handle_END Undocumented
Method handle_BACKSPACE Undocumented
Method handle_DELETE Undocumented
Method handle_INSERT Undocumented
Method lineReceived Undocumented

Inherited from TerminalProtocol (via RecvLine):

Method makeConnection Called with an ITerminalTransport when a connection is established.
Method connectionLost Called when the connection has been lost.
def connectionMade(self): (source)

Called after a connection has been established.

def currentHistoryBuffer(self): (source)
Undocumented
def _deliverBuffer(self, buf): (source)
Undocumented
def handle_UP(self): (source)
Undocumented
def handle_DOWN(self): (source)
Undocumented
def handle_RETURN(self): (source)
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.