moo.sdk.output

Player I/O functions: write, editor, paginator, session settings, boot.

Functions

boot_player(obj)

Disconnect the given player from the MOO server.

can_open_editor()

True if the current player's client can display an editor.

close_window(obj)

Leave windowed display mode and return to the normal scrolling shell.

get_client_mode()

Return the current player's shell mode.

get_session_setting(key[, default])

Get a session-specific output setting for the current player.

get_wrap_column()

Return the effective wrap column for the current player.

open_editor(obj, initial_content, ...[, ...])

Request the connected SSH client to open a full-screen text editor.

open_input(obj, prompt, callback_verb, *args)

Request the connected SSH client to show an inline input prompt.

open_paginator(obj, content[, content_type])

Request the connected SSH client to open a full-screen read-only paginator.

open_window(obj, *args[, height, title, ...])

Switch the player's rich client into windowed display mode.

play_sound(obj, name[, volume, priority])

Play a sound on obj's client.

room_info_payload(room)

Build the IRE-style GMCP Room.Info payload for room.

send_gmcp(obj, module[, data])

Send a GMCP event to obj's SSH channel.

send_oob(obj, data)

Send a raw IAC subnegotiation frame to obj's SSH channel.

set_session_setting(key, value)

Set a session-specific output setting for the current player.

window_clear(obj[, row])

Clear the whole top region, or a single row when given.

window_cursor(obj, row, col)

Move the top-region cursor to (row, col) (for window_emit()).

window_emit(obj, text)

Write text at the current top-region cursor and advance it.

window_split(obj, height)

Set the top region to height rows (opening window mode if needed).

window_supported([obj])

True if the current player's client can display a window (rich mode).

window_write(obj, row, col, text)

Write text at grid position (row, col) in the top region.

write(obj, message)

Send an asynchronous message to the user.