Connect to du5t SSH domain on startup instead of the local shell
gui-startup now spawns the initial window's pane against the du5t
ssh_domains entry (domain = { DomainName = "du5t" }) instead of the
default local domain, so the first pane is already connected instead
of showing a local cmd shell. The main menu still pops up on top as
before.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -751,7 +751,9 @@ end)
|
||||
|
||||
-- 시작 시 첫 화면으로 메인 메뉴를 띄워 설정과 연결 메뉴에 바로 접근합니다.
|
||||
wezterm.on("gui-startup", function(cmd)
|
||||
local tab, pane, window = wezterm.mux.spawn_window(cmd or {})
|
||||
local args = cmd or {}
|
||||
args.domain = { DomainName = "du5t" } -- 시작 시 로컬 셸(cmd) 대신 du5t SSH 도메인으로 바로 연결
|
||||
local tab, pane, window = wezterm.mux.spawn_window(args)
|
||||
list_system_fonts() -- 폰트 목록을 미리 캐싱해서, 나중에 폰트 설정 메뉴에서 조회 지연으로 화면이 깜빡이지 않게 함
|
||||
show_main_menu(window:gui_window(), pane)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user