moo.sdk.output.open_window
- moo.sdk.output.open_window(obj, *args, height=1, title=None, callback_verb=None)
Switch the player’s rich client into windowed display mode.
Opens a persistent split-screen layout: a fixed top region of
heightrows (painted withwindow_write(), orwindow_cursor()+window_emit()), a scrolling output region, and an input line. The session stays in window mode untilclose_window(), the player presses the close key, or they disconnect. Window mode is mutually exclusive with the editor and paginator.No-ops for non-rich clients. GMCP-capable clients (e.g. Mudlet) instead receive a
Window.Openevent so they can render a native status area.- Parameters:
obj – the player Object whose client should enter window mode
height (
int) – number of rows in the fixed top regiontitle (
str|None) – optional title for the top regioncallback_verb – optional Verb invoked when the window closes, with the close reason as
args[0]followed by any extra positional args