class documentation

class ColoredManhole(Manhole): (source)

Known subclasses: twisted.conch.stdio.ConsoleManhole

View In Hierarchy

A REPL which syntax colors input as users type it.
Method character​Received Undocumented
Method get​Source Return a string containing the currently entered source.

Inherited from Manhole:

Method __init__ Undocumented
Method add​Output Undocumented
Method connection​Made Called after a connection has been established.
Method handle_​EOF Undocumented
Method handle_​FF Handle a 'form feed' byte - generally used to request a screen refresh/redraw.
Method handle_​INT Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state.
Method handle_​QUIT Undocumented
Method line​Received Undocumented
Instance Variable interpreter Undocumented
Instance Variable line​Buffer Undocumented
Instance Variable line​Buffer​Index Undocumented
Instance Variable namespace Undocumented
Instance Variable pn Undocumented
Method _needs​Newline Undocumented

Inherited from HistoricRecvLine (via Manhole):

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
Method _deliver​Buffer Undocumented

Inherited from RecvLine (via Manhole, HistoricRecvLine):

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 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 ps Undocumented
Instance Variable height Undocumented
Instance Variable key​Handlers Undocumented
Instance Variable mode Undocumented
Instance Variable width Undocumented
Class Variable _log Undocumented
Class Variable _printable​Chars Undocumented

Inherited from TerminalProtocol (via Manhole, HistoricRecvLine, 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 characterReceived(self, ch, moreCharactersComing): (source)
def getSource(self): (source)

Return a string containing the currently entered source.

This is only the code which will be considered for execution next.