gm e402a95335 Fix du5t auto-connect: spawn locally first, add SSH tab after a delay
Setting domain = { DomainName = "du5t" } directly in gui-startup's
spawn_window failed with "domain name du5t is invalid" -- at the
moment gui-startup fires, WezTerm hasn't finished registering
ssh_domains into the mux yet, so the very first spawn always races
against domain registration regardless of restarting the app.

Now the initial window spawns on the local domain as before (always
available), and half a second later a new tab is spawned against the
du5t domain and activated -- by then domain registration should be
complete. The local tab remains as tab 1, a safety net if the SSH
connection fails for any reason.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-18 02:07:48 +09:00
Description
WezTerm configuration
409 KiB
Languages
Lua 100%