From 5dfa14ccce600fbe3e967cca150d6cd398c5a6c4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 22:55:15 +0000 Subject: [PATCH] Avoid duplicating cmd.exe prompt definition Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com> --- vendor/init.bat | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/vendor/init.bat b/vendor/init.bat index 70e05d5..2eabb6e 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -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