Skip to content

Commit 3a445da

Browse files
hq0101andydotxyz
authored andcommitted
Update term_windows.go
fix: term_windows.go t.SetStartDir() is not working
1 parent 23350e9 commit 3a445da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

term_windows.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func (t *Terminal) startPTY() (io.WriteCloser, io.Reader, io.Closer, error) {
2828
[]string{},
2929
&syscall.ProcAttr{
3030
Env: os.Environ(),
31+
Dir: t.startingDir(),
3132
},
3233
)
3334
if err != nil {

0 commit comments

Comments
 (0)