Vote for Our Mud on TMC!











help > window
WINDOW

Syntax: window                         -- > show current settings
        window [on|off]                -- > enable or disable window mode
        window delete win1 win2        -- > delete window settings
        window name1 name2             -- > points channel name to name2
        window name [top=] [bot=] [row=] [col=] -- > defines a window

The window command produces limited windowing through ansi terminal sequences.
It will interact poorly with a client (such as tf) which does the same.
If you have a defined window, a message on that channel will:
 Change the scroll region to be [top] to [bot]
 Move the cursor to [row] [col]
 Write the message
 Change the scroll region to be your 'main' scroll region
 Return your cursor to where it started from.

You must have a main window to use windowing. Avoid overlapping windows;
e.g. if you have a window for hp, don't define one for max_hp. If you set
your start position for a window outside of the scroll region for the window,
your text will not scroll on a newline, which may not be what you want.

Channels for windows are the same as for tags and colors.

On a typical terminal, scrollback only applies to scrolling off the top of
the screen, so scrolled text in a window that doesn't start at 1 will be
lost. Windows can overlap, but effects may not be attractive.