update cwd when project changes

This commit is contained in:
Chris Wanstrath 2025-10-02 14:45:20 -07:00
parent 907d8b5393
commit 66c75ff87f

View File

@ -32,6 +32,7 @@ export function handleSessionUpdate(msg: SessionUpdateMessage) {
function updateProjectName(project: string) { function updateProjectName(project: string) {
sessionStore.set("project", project) sessionStore.set("project", project)
projectName.textContent = project projectName.textContent = project
updateCwd("/")
} }
function updateCwd(cwd: string) { function updateCwd(cwd: string) {