Avoid duplicating cmd.exe prompt definition

Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-11-08 22:55:15 +00:00
parent 4d259ba84c
commit 5dfa14ccce

10
vendor/init.bat vendored
View File

@@ -221,12 +221,10 @@ goto :SKIP_CLINK
chcp 65001>nul
:: Revert back to plain cmd.exe prompt without clink
:: With Windows Terminal shell integration support (OSC 133 sequences)
if defined WT_SESSION (
prompt $e]133;D$e\$e]133;A$e\$e]9;9;$P$e\$E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m$e]133;B$e\
) else (
prompt $E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m
)
prompt $E[1;32;49m$P$S$_$E[1;30;49mλ$S$E[0m
:: Add Windows Terminal shell integration support (OSC 133 sequences)
if defined WT_SESSION (prompt $e]133;D$e\$e]133;A$e\$e]9;9;$P$e\%PROMPT%$e]133;B$e\)
chcp %cp%>nul