Also include color and icon in unsafe profile config

This commit is contained in:
Daniel Imms 2024-03-22 07:34:30 -07:00
parent fa3b1b097f
commit eae98ba554
No known key found for this signature in database
GPG key ID: E5CF412B63651C69

View file

@ -139,6 +139,12 @@ export class TerminalProfileQuickpick {
if (context.item.profile.env) {
newConfigValue[name].env = context.item.profile.env;
}
if (context.item.profile.color) {
newConfigValue[name].color = context.item.profile.color;
}
if (context.item.profile.icon) {
newConfigValue[name].icon = context.item.profile.icon;
}
await this._configurationService.updateValue(profilesKey, newConfigValue, ConfigurationTarget.USER);
},
onKeyMods: mods => keyMods = mods