class documentation

class HistoricRecvLine(RecvLine): (source)

Known subclasses: twisted.conch.manhole.Manhole

View In Hierarchy

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.
Instance Variable historyLines Undocumented
Instance Variable historyPosition Undocumented
Method currentHistoryBuffer Undocumented
Method handle_UP Undocumented
Instance Variable lineBuffer Undocumented
Method handle_DOWN Undocumented
Instance Variable lineBufferIndex Undocumented
Method handle_RETURN Undocumented
Method _deliverBuffer Undocumented

Inherited from RecvLine:

Instance Variable width Undocumented
Instance Variable height Undocumented
Class Variable TABSTOP Undocumented
Class Variable ps Undocumented
Class Variable pn Undocumented
Instance Variable keyHandlers Undocumented
Method initializeScreen Undocumented
Method currentLineBuffer Undocumented
Method setInsertMode Undocumented
Instance Variable mode 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
Class Variable _printableChars Undocumented
Class Variable _log Undocumented

Inherited from TerminalProtocol (via RecvLine):

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

Called after a connection has been established.

historyLines = (source)

Undocumented

(type: list)
historyPosition = (source)

Undocumented

def currentHistoryBuffer(self): (source)

Undocumented

def _deliverBuffer(self, buf): (source)

Undocumented

def handle_UP(self): (source)

Undocumented

lineBuffer = (source)
def handle_DOWN(self): (source)

Undocumented

lineBufferIndex = (source)
def handle_RETURN(self): (source)
API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.