Skip to content

Commit

Permalink
Update term_windows.go
Browse files Browse the repository at this point in the history
fix: term_windows.go t.SetStartDir() is not working
  • Loading branch information
hq0101 authored and andydotxyz committed Jun 14, 2024
1 parent 23350e9 commit 3a445da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions term_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func (t *Terminal) startPTY() (io.WriteCloser, io.Reader, io.Closer, error) {
[]string{},
&syscall.ProcAttr{
Env: os.Environ(),
Dir: t.startingDir(),
},
)
if err != nil {
Expand Down

0 comments on commit 3a445da

Please sign in to comment.