Skip to content

Commit eae98ba

Browse files
committed
Also include color and icon in unsafe profile config
1 parent fa3b1b0 commit eae98ba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/vs/workbench/contrib/terminal/browser/terminalProfileQuickpick.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ export class TerminalProfileQuickpick {
139139
if (context.item.profile.env) {
140140
newConfigValue[name].env = context.item.profile.env;
141141
}
142+
if (context.item.profile.color) {
143+
newConfigValue[name].color = context.item.profile.color;
144+
}
145+
if (context.item.profile.icon) {
146+
newConfigValue[name].icon = context.item.profile.icon;
147+
}
142148
await this._configurationService.updateValue(profilesKey, newConfigValue, ConfigurationTarget.USER);
143149
},
144150
onKeyMods: mods => keyMods = mods

0 commit comments

Comments
 (0)