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
title: wezterm.target_triple tags: - utility - version
wezterm.target_triple
This constant is set to the Rust target
triple for the
platform on which wezterm was built. This can be useful when you wish to
conditionally adjust your configuration based on the platform.
local wezterm = require 'wezterm'
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
-- We are running on Windows; maybe we emit different
-- key assignments here?
end
The most common triples are:
x86_64-pc-windows-msvc- Windowsx86_64-apple-darwin- macOS (Intel)aarch64-apple-darwin- macOS (Apple Silicon)x86_64-unknown-linux-gnu- Linux