fix(engine): osc99 support for windows terminal

wsl path conversion not needed anymore
This commit is contained in:
Laurent Nullens 2021-12-30 19:46:50 +01:00 committed by GitHub
parent 92b234a225
commit 4960f8a2b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,9 +67,6 @@ func (e *engine) render() string {
return e.print() return e.print()
} }
cwd := e.env.getcwd() cwd := e.env.getcwd()
if e.env.isWsl() {
cwd, _ = e.env.runCommand("wslpath", "-m", cwd)
}
e.writeANSI(e.ansi.consolePwd(cwd)) e.writeANSI(e.ansi.consolePwd(cwd))
return e.print() return e.print()
} }