A modern terminal with a built-in multiplexer: close it and your sessions keep running. Run shells and tons of AI agents across your machines, then pick them up from desktop, browser, TUI and more. Written in Rust with no UI framework: interface drawn straight on the GPU. No Electron, GPUI or webview.
Rust agentagent-orchestrationaiai-agentsclaude-codecodexcoding-agentlinuxmacosmultiplayermultiplexerrustterminalterminal-emulatorterminal-multiplexertmuxtuiweztermwindows
wezterm.mux.get_domain(name_or_id)
{{since('20230320-124340-559cb7b0')}}
Resolves name_or_id to a domain and returns a
MuxDomain object representation of it.
name_or_id can be:
- A domain name string to resolve the domain by name
- A domain id to resolve the domain by id
nilor omitted to return the current default domain- other lua types will generate a lua error
If the name or id don't map to a valid domain, this function will return nil.