Skip to content

Commit cd8000e

Browse files
authored
Merge pull request microsoft#74144 from NizamLZ/fix/73975-input-box-escape-newlines
Input box escape \n, \r etc in the setter
2 parents b331ec3 + f4cc2c7 commit cd8000e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/debug/browser/baseDebugView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export abstract class AbstractExpressionsRenderer implements ITreeRenderer<IExpr
161161
});
162162
const styler = attachInputBoxStyler(inputBox, this.themeService);
163163

164-
inputBox.value = options.initialValue;
164+
inputBox.value = replaceWhitespace(options.initialValue);
165165
inputBox.focus();
166166
inputBox.select();
167167

0 commit comments

Comments
 (0)