class documentation
class ColoredManhole(Manhole): (source)
Known subclasses: twisted.conch.stdio.ConsoleManhole
Constructor: ColoredManhole(namespace)
A REPL which syntax colors input as users type it.
| Method | character |
Undocumented |
| Method | get |
Return a string containing the currently entered source. |
Inherited from Manhole:
| Method | __init__ |
Undocumented |
| Method | add |
Undocumented |
| Method | connection |
Called after a connection has been established. |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Handle a 'form feed' byte - generally used to request a screen refresh/redraw. |
| Method | handle_ |
Handle ^C as an interrupt keystroke by resetting the current input variables to their initial state. |
| Method | handle_ |
Undocumented |
| Method | line |
Undocumented |
| Instance Variable | interpreter |
Undocumented |
| Instance Variable | line |
Undocumented |
| Instance Variable | line |
Undocumented |
| Instance Variable | namespace |
Undocumented |
| Instance Variable | pn |
Undocumented |
| Method | _needs |
Undocumented |
Inherited from HistoricRecvLine (via Manhole):
| Method | current |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Instance Variable | history |
Undocumented |
| Instance Variable | history |
Undocumented |
| Method | _deliver |
Undocumented |
Inherited from RecvLine (via Manhole, HistoricRecvLine):
| Method | current |
Undocumented |
| Method | draw |
Write a line containing the current input prompt and the current line buffer at the current cursor position. |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | handle_ |
Undocumented |
| Method | initialize |
Undocumented |
| Method | keystroke |
A keystroke was received. |
| Method | set |
Undocumented |
| Method | set |
Undocumented |
| Method | terminal |
Called to indicate the size of the terminal. |
| Method | unhandled |
Called when an unsupported control sequence is received. |
| Constant | TABSTOP |
Undocumented |
| Class Variable | ps |
Undocumented |
| Instance Variable | height |
Undocumented |
| Instance Variable | key |
Undocumented |
| Instance Variable | mode |
Undocumented |
| Instance Variable | width |
Undocumented |
| Class Variable | _log |
Undocumented |
| Class Variable | _printable |
Undocumented |
Inherited from TerminalProtocol (via Manhole, HistoricRecvLine, RecvLine):
| Method | connection |
Called when the connection has been lost. |
| Method | make |
Called with an ITerminalTransport when a connection is established. |
| Instance Variable | terminal |
Undocumented |