server_shell
Telnet server shell implementations.
- async telnet_server_shell(reader, writer)[source]
A default telnet shell, appropriate for use with telnetlib3.create_server.
This shell provides a very simple REPL, allowing introspection and state toggling of the connected client session.
- Return type:
- async readline_async(reader, writer, max_visible_width=0)[source]
Async readline that filters ANSI escape sequences.
Uses
filter_ansi()to strip escape sequences and_LineEditorfor grapheme-aware backspace and max_visible_width support.