refactor(terminal): unify terminal selection using global settings

- Remove terminal selector from Session Manager page
- Backend now reads terminal preference from global settings
- Add terminal name mapping (iterm2 → iterm) for compatibility
- Add WezTerm support to macOS terminal options
- Add WezTerm translations for zh/en/ja
This commit is contained in:
Jason
2026-02-02 16:30:55 +08:00
parent d98183f3da
commit 1d97570a94
8 changed files with 45 additions and 127 deletions
+1 -3
View File
@@ -14,14 +14,12 @@ export const sessionsApi = {
},
async launchTerminal(options: {
target: string;
command: string;
cwd?: string | null;
customConfig?: string | null;
}): Promise<boolean> {
const { target, command, cwd, customConfig } = options;
const { command, cwd, customConfig } = options;
return await invoke("launch_session_terminal", {
target,
command,
cwd,
customConfig,