twisted.conch.manhole.ColoredManhole(Manhole)
class documentationtwisted.conch.manhole
View Source
(View In Hierarchy)
Known subclasses: twisted.conch.stdio.ConsoleManhole
A REPL which syntax colors input as users type it.
Method | getSource | Return a string containing the currently entered source. |
Method | characterReceived | Undocumented |
Inherited from Manhole:
Method | __init__ | Undocumented |
Method | connectionMade | Called after a connection has been established. |
Method | handle_INT | Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state. |
Method | handle_EOF | Undocumented |
Method | handle_FF | Handle a 'form feed' byte - generally used to request a screen refresh/redraw. |
Method | handle_QUIT | Undocumented |
Method | addOutput | Undocumented |
Method | lineReceived | Undocumented |
Method | _needsNewline | Undocumented |
Inherited from HistoricRecvLine (via Manhole):
Method | currentHistoryBuffer | Undocumented |
Method | handle_UP | Undocumented |
Method | handle_DOWN | Undocumented |
Method | handle_RETURN | Undocumented |
Method | _deliverBuffer | Undocumented |
Inherited from RecvLine (via Manhole, HistoricRecvLine):
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 | 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 |
Inherited from TerminalProtocol (via Manhole, HistoricRecvLine, RecvLine):
Method | makeConnection | Called with an ITerminalTransport
when a connection is established. |
Method | connectionLost | Called when the connection has been lost. |
Return a string containing the currently entered source.
This is only the code which will be considered for execution next.