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 rich mode (prompt_toolkit TUI), or their client advertises support for the GMCP Editor package via Core.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 than get_client_mode() == "raw" so bridge-equipped MUD clients are not forced onto the inline with "..." fallback.

Return type:

bool