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 connection​Made Called after a connection has been established.
Method current​History​Buffer Undocumented
Method handle_​DOWN Undocumented
Method handle_​RETURN Undocumented
Method handle_​UP Undocumented
Instance Variable history​Lines Undocumented
Instance Variable history​Position Undocumented
Instance Variable line​Buffer Undocumented
Method _deliver​Buffer Undocumented

Inherited from RecvLine:

Method character​Received Undocumented
Method current​Line​Buffer Undocumented
Method draw​Input​Line Write a line containing the current input prompt and the current line buffer at the current cursor position.
Method handle_​BACKSPACE Undocumented
Method handle_​DELETE Undocumented
Method handle_​END Undocumented
Method handle_​HOME Undocumented
Method handle_​INSERT Undocumented
Method handle_​LEFT Undocumented
Method handle_​RIGHT Undocumented
Method handle_​TAB Undocumented
Method initialize​Screen Undocumented
Method keystroke​Received A keystroke was received.
Method line​Received Undocumented
Method set​Insert​Mode Undocumented
Method set​Typeover​Mode Undocumented
Method terminal​Size Called to indicate the size of the terminal.
Method unhandled​Control​Sequence Called when an unsupported control sequence is received.
Constant TABSTOP Undocumented
Class Variable pn Undocumented
Class Variable ps Undocumented
Instance Variable height Undocumented
Instance Variable key​Handlers Undocumented
Instance Variable line​Buffer​Index Undocumented
Instance Variable mode Undocumented
Instance Variable width Undocumented
Class Variable _log Undocumented
Class Variable _printable​Chars Undocumented

Inherited from TerminalProtocol (via RecvLine):

Method connection​Lost Called when the connection has been lost.
Method make​Connection Called with an ITerminalTransport when a connection is established.
Instance Variable terminal Undocumented
def connectionMade(self): (source)
Called after a connection has been established.
def currentHistoryBuffer(self): (source)

Undocumented

def handle_DOWN(self): (source)

Undocumented

def handle_RETURN(self): (source)
def handle_UP(self): (source)

Undocumented

historyLines: list = (source)

Undocumented

historyPosition = (source)

Undocumented

def _deliverBuffer(self, buf): (source)

Undocumented