Both the 0.5s and 2s wezterm.time.call_after delays in gui-startup still hit "domain name du5t is invalid" -- guessing a fixed delay for mux domain registration isn't reliable. Moved the auto-connect attempt into update-right-status, which only starts firing once the window is actually up and rendering (well past the registration race), and made it generic: it looks at config.ssh_domains[1] instead of hardcoding "du5t", so it auto-connects to whatever SSH domain happens to be registered, or does nothing if none are configured. Runs exactly once per session via startup_ssh_connect_tried. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 KiB
34 KiB