mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
Improve comment documentation for OSC 633;E sequence disabling
Co-authored-by: anthonykim1 <62267334+anthonykim1@users.noreply.github.com>
This commit is contained in:
@@ -199,9 +199,9 @@ if (Get-Module -Name PSReadLine) {
|
||||
|
||||
# Command line
|
||||
# OSC 633 ; E [; <CommandLine> [; <Nonce>]] ST
|
||||
# Disabled on Windows 10 due to rendering issues with long commands that cause
|
||||
# escaped command text to appear in the terminal (e.g., \x5c for backslashes).
|
||||
# See: https://github.com/microsoft/vscode/issues/...
|
||||
# Disabled on Windows 10 due to a rendering race condition with long commands that causes
|
||||
# escaped command text to appear in the terminal output (e.g., \x5c for backslashes).
|
||||
# Windows 11 and other platforms do not have this issue and continue to send this sequence.
|
||||
$Result = ""
|
||||
if ($Global:__VSCodeState.IsWindows10 -eq $false) {
|
||||
$Result = "$([char]0x1b)]633;E;"
|
||||
|
||||
Reference in New Issue
Block a user