Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/browser/renderer/RendererUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ export function isPowerlineGlyph(codepoint: number): boolean {
return 0xE0A0 <= codepoint && codepoint <= 0xE0D6;
}

function isBoxGlyph(codepoint: number): boolean {
return 0x2500 <= codepoint && codepoint <= 0x257F;
function isBoxOrBlockGlyph(codepoint: number): boolean {
return (0x2500 <= codepoint && codepoint <= 0x257F) || (0x2580 <= codepoint && codepoint <= 0x259F);
}

export function excludeFromContrastRatioDemands(codepoint: number): boolean {
return isPowerlineGlyph(codepoint) || isBoxGlyph(codepoint);
return isPowerlineGlyph(codepoint) || isBoxOrBlockGlyph(codepoint);
}