mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Also include color and icon in unsafe profile config
This commit is contained in:
parent
fa3b1b097f
commit
eae98ba554
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue