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-gui: point the pid-file test at its function's new home
RoversX13fa2b607a17
diff --git a/wezterm-gui/src/local_sessions.rs b/wezterm-gui/src/local_sessions.rsindex 3db454a5..8f9eaf78 100644--- a/wezterm-gui/src/local_sessions.rs+++ b/wezterm-gui/src/local_sessions.rs@@ -423,14 +423,18 @@ mod tests {let path = dir.path().join("pid");let mut holder = std::fs::File::create(&path).unwrap();writeln!(holder, "4242").unwrap();- assert_eq!(super::pid_of_server_holding(&path), None, "nobody holds the lock");+ assert_eq!(+ mux::session_server::pid_holding(&path),+ None,+ "nobody holds the lock"+ );assert_eq!(unsafe { libc::flock(holder.as_raw_fd(), libc::LOCK_EX | libc::LOCK_NB) },0);- assert_eq!(super::pid_of_server_holding(&path), Some(4242));+ assert_eq!(mux::session_server::pid_holding(&path), Some(4242));drop(holder);- assert_eq!(super::pid_of_server_holding(&path), None);+ assert_eq!(mux::session_server::pid_holding(&path), None);}fn unix(name: &str, proxy: bool) -> UnixDomain {