Skip to content

Commit 3bec854

Browse files
authored
Merge pull request microsoft#211236 from microsoft/tyriar/211220
Remove blank icon as option for terminal icon
2 parents 76cc0e1 + d84506e commit 3bec854

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import { Dimension, getActiveDocument } from 'vs/base/browser/dom';
77
import { HoverPosition } from 'vs/base/browser/ui/hover/hoverWidget';
8+
import { codiconsLibrary } from 'vs/base/common/codiconsLibrary';
89
import { Lazy } from 'vs/base/common/lazy';
910
import { Disposable } from 'vs/base/common/lifecycle';
1011
import type { ThemeIcon } from 'vs/base/common/themables';
@@ -18,6 +19,9 @@ const icons = new Lazy<IconContribution[]>(() => {
1819
const iconDefinitions = getIconRegistry().getIcons();
1920
const includedChars = new Set<string>();
2021
const dedupedIcons = iconDefinitions.filter(e => {
22+
if (e.id === codiconsLibrary.blank.id) {
23+
return false;
24+
}
2125
if (!('fontCharacter' in e.defaults)) {
2226
return false;
2327
}

0 commit comments

Comments
 (0)