tiletopia/src-tauri/src
megaproxy 7d1f1f4b9a Default new panes to WSL home (~) instead of inherited Windows cwd
Previously: spawn_wsl(cwd=None) passed no --cd to wsl.exe, so each
pane inherited the launcher's cwd — which is typically
C:\Users\<user>, surfacing inside WSL as /mnt/c/Users/<user>. Annoying
because the first thing you do in a new pane is `cd ~`.

Now: if the caller didn't specify a cwd, we explicitly pass `--cd ~`
so the pane lands in the WSL user's home. Existing panes keep their
saved cwd from the workspace.json.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 21:43:38 +01:00
..
commands.rs Add M3: APPDATA persistence + presets + per-pane distro/label 2026-05-22 12:55:46 +01:00
lib.rs Add M3: APPDATA persistence + presets + per-pane distro/label 2026-05-22 12:55:46 +01:00
main.rs Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00
pty.rs Default new panes to WSL home (~) instead of inherited Windows cwd 2026-05-22 21:43:38 +01:00