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
Url object
{{since('20240127-113634-bbcac864')}}
The Url object represents a parsed Url. It has the following fields:
scheme- the URL scheme such as"file", or"https"file_path- decodes thepathfield and interprets it as a file pathusername- the username portion of the URL, or an empty string if none is specifiedpassword- the password portion of the URL, ornilif none is specifiedhost- the hostname portion of the URL, with IDNA decoded to UTF-8path- the path portion of the URL, complete with percent encodingfragment- the fragment portion of the URLquery- the query portion of the URL
local wezterm = require 'wezterm'
local url = wezterm.url.parse 'file://myhost/some/path%20with%20spaces'
assert(url.scheme == 'file')
assert(url.file_path == '/some/path with spaces')
local url =
wezterm.url.parse 'https://github.com/rust-lang/rust/issues?labels=E-easy&state=open'
assert(url.scheme == 'https')
assert(url.username == '')
assert(url.password == nil)
assert(url.host == 'github.com')
assert(url.path == '/rust-lang/rust/issues')
assert(url.query == 'labels=E-easy&state=open')