update cwd when project changes
This commit is contained in:
parent
907d8b5393
commit
66c75ff87f
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user