Note that WezTerm must be restarted for new SSH domains to connect

config.ssh_domains is only registered into wezterm's mux domain list
at process startup; ReloadConfiguration picks up simple value changes
(font, colors, etc.) but does not re-register newly added ssh domains.
Selecting a freshly-saved domain from the main menu before a full
restart fails with "domain name ... is invalid" since it's absent
from the mux's domain list. Updated the save notification to tell the
user a restart (not just reload) is required.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-18 00:49:10 +09:00
parent d4daab7cf6
commit 7a0304bc3d

View File

@@ -269,7 +269,7 @@ local function append_ssh_domain(window, pane, name, remote_address, username)
return return
end end
notify(window, "SSH 도메인 저장됨: " .. name .. " -> " .. remote_address .. " (" .. config_file .. ")") notify(window, "SSH 도메인 저장됨: " .. name .. " -> " .. remote_address .. " (WezTerm을 완전히 재시작해야 연결 목록에 나타납니다)")
window:perform_action(act.ReloadConfiguration, pane) window:perform_action(act.ReloadConfiguration, pane)
end end