This change lets the web terminal read option overrides from window.location.search and apply them on top of the server-provided preferences, covering both ttyd client settings and standard xterm options. The parser infers basic types from existing defaults, so flags like booleans, numeric values, and structured objects such as themes can be passed through the URL with minimal extra wiring. The update also includes a small TypeScript config adjustment needed for URLSearchParams usage and some import cleanup. Practically, this makes it much easier to test, debug, and share custom terminal configurations from a single link.

Added URL query-based overrides for terminal client and xterm options so the HTML client can be customized at runtime without rebuilding. - zhengqunkoo/ttyd