moo.sdk.output.can_open_editor
- moo.sdk.output.can_open_editor()
True if the current player’s client can display an editor.
Either the player is in
richmode (prompt_toolkit TUI), or their client advertises support for the GMCPEditorpackage viaCore.Supports.Set(the djangomoo Mudlet bridge does this; the server hands the edit off to the client’s preferred local editor over GMCP). Verbs that open the editor should gate on this rather thanget_client_mode() == "raw"so bridge-equipped MUD clients are not forced onto the inlinewith "..."fallback.- Return type:
bool