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.truncate_left tags: - utility - string
wezterm.truncate_left(string, max_width)
{{since('20210502-130208-bff6815d')}}
Returns a copy of string that is no longer than max_width columns
(as measured by wezterm.column_width).
Truncation occurs by removing excess characters from the left end of the string.
For example, wezterm.truncate_left("hello", 3) returns "llo".
See also: wezterm.truncate_right, wezterm.pad_right.