File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/terminal/browser/media Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 31
31
# Marks the beginning of command output.
32
32
function __vsc_cmd_executed --on-event fish_preexec
33
33
__vsc_esc C
34
- __vsc_esc E (__vsc_escape_cmd " $argv " )
34
+ __vsc_esc E (__vsc_escape_value " $argv " )
35
35
36
36
# Creates a marker to indicate a command was run.
37
37
set --global _vsc_has_cmd
38
38
end
39
39
40
40
41
- # Escapes backslashes, newlines, and semicolons to serialize the command line .
42
- function __vsc_escape_cmd
41
+ # Escape a value for use in the 'P' ("Property") or 'E' ("Command Line") sequences .
42
+ function __vsc_escape_value
43
43
set -l commandline " $argv "
44
44
# `string replace` automatically breaks its input apart on any newlines.
45
45
# Then `string join` at the end will bring it all back together.
You can’t perform that action at this time.
0 commit comments