moo.sdk.output.open_paginator
- moo.sdk.output.open_paginator(obj, content, content_type='text')
Request the connected SSH client to open a full-screen read-only paginator. The user can scroll through the content and press Q to quit.
In raw-mode sessions (MUD clients, line-oriented terminals) the SSH server intercepts the paginator event and writes the content directly to the terminal instead of opening the interactive UI.
- Parameters:
obj – the player Object whose client should open the paginator
content (
str) – text to displaycontent_type (
str) – “python”, “json”, or “text” (default); controls syntax highlighting