Increase startup SSH auto-connect delay from 0.5s to 2s
Gives ssh_domains more time to finish registering in the mux before the du5t tab spawn is attempted. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -759,7 +759,7 @@ wezterm.on("gui-startup", function(cmd)
|
|||||||
list_system_fonts() -- 폰트 목록을 미리 캐싱해서, 나중에 폰트 설정 메뉴에서 조회 지연으로 화면이 깜빡이지 않게 함
|
list_system_fonts() -- 폰트 목록을 미리 캐싱해서, 나중에 폰트 설정 메뉴에서 조회 지연으로 화면이 깜빡이지 않게 함
|
||||||
show_main_menu(gui_window, pane)
|
show_main_menu(gui_window, pane)
|
||||||
|
|
||||||
wezterm.time.call_after(0.5, function()
|
wezterm.time.call_after(2, function()
|
||||||
gui_window:perform_action(act.SpawnTab({ DomainName = "du5t" }), pane)
|
gui_window:perform_action(act.SpawnTab({ DomainName = "du5t" }), pane)
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user