P

PlayMUD.online

Terminal

Terminal

The terminal renders MUD output and sends commands.

It is intentionally close to a MUD terminal, but with browser quality-of-life features.

Scrollback

The browser keeps up to 2,500 rendered terminal lines. New output follows automatically while the viewport is near the bottom. Scrolling upward pauses follow mode so incoming text does not move the viewport.

While follow mode is paused, a compact live tail shows the newest output at the bottom of the terminal. Press PageUp and PageDown from the command input to scroll the main terminal. Press Ctrl+Enter or use the down-arrow button to return to the newest output and resume following.

Rendering

  • ANSI foreground and background colors are rendered.
  • Bright colors, 256-color mode, and truecolor sequences are supported.
  • Bold, dim, italic, underline, and inverse styles are supported.
  • HTTP and HTTPS links in output are clickable.
  • Basic terminal controls such as carriage return, backspace, line erase, and screen clear are handled.

Input

Clicking the terminal focuses the command input unless you are selecting text or clicking a link. Browser password managers are discouraged on the command input, and password mode is enabled when the telnet session requests it.

Command history supports prefix matching. If you type say and press Up, history cycles through commands starting with say.

Press Tab to complete the word at the cursor from recent command history and terminal scrollback. Repeated Tab presses cycle forward through matches; Shift+Tab cycles backward. Matching is case-insensitive and uses the typed prefix.

The Terminal setting Keep submitted command selected leaves a sent command selected in the input. Enter sends it again, while typing replaces it. Password input is always cleared.

Fonts And Size

Terminal font and font size are configured separately for desktop and mobile. Desktop Settings can edit both profiles; the mobile More view edits the mobile profile directly.

Font choices are safe monospace presets available on the device. If a selected font is not installed, its configured fallback is used. Sizes are limited to 10-24 pixels to keep terminal controls usable.

Backgrounds

Put .png, .jpg, or .jpeg files in web/backgrounds/. PlayMUD.online lists those files in Settings and applies the selected image behind the terminal output.

The saved setting stores only the selected filename and an opacity percentage. The backend clears unknown filenames during settings save, so hand-edited settings cannot point outside the backgrounds directory.

Connection Resume

The Go gateway owns the active MUD connection. Closing or refreshing the browser only detaches the page; returning with the same logged-in profile resumes that connection automatically.

  • The latest 200 lines are kept temporarily in server memory and replayed when needed.
  • Replayed output is display-only and never launches simple or Lua triggers.
  • Triggers do not run while every browser is detached.
  • Clicking Disconnect explicitly closes the MUD connection.
  • Logging out detaches the browser but does not intentionally close the MUD connection. Disconnect, account disablement, a MUD disconnect, or a PlayMUD.online restart can close it.

A resumed connection keeps the original MUD server and charset. Select a different server after disconnecting the current session.

Charsets

The charset selector controls how backend telnet bytes are decoded before they reach the browser. Current options include UTF-8, Latin-1, ISO-8859-10, Latin-10, Latin-11, and Windows-1252.