You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHubβs verified signature.
The key has expired.
π Features
The minimum contrast ratio feature will now change luminance in the opposite direction if the contrast ratio isn't met (#3806, #3808) via @Tyriar. For example a red foreground on a slightly darker red background will try lighten the color and if the minimumContrastRatio option isn't met when #FFFFFF is reached it will try moving it towards #000000. This can cause somewhat unexpected results by changing explicitly styled whites to blacks for example but it's really good for accessibility.
Opaque selectionBackground is now supported in the DOM renderer (#3839) via @Tyriar
The symbol powerline font glyphs now use custom rendering when ITerminalOptions.customGlyphs is enabled (#3856, #3862, #3866) via @Tyriar
This has multiple benefits:
A patched powerlines font doesn't need to be installed to render the most common characters
Ugly lines due to anti-aliasing that can appear no longer do
The glyphs always use greyscale anti-aliasing (not sub-pixel)
ITerminalOptions.lineHeight is taken into account when rendering the glyph
The width of the resulting overview ruler is controlled by ITerminalOptions.overviewRulerWidth.
Decorations can now change a cell's background and foreground colors (#3775, #3782) via @Tyriar. When this is set, the minimum contrast ratio feature will also be in effect.
Switching from webgl to dom renderer will now correctly reposition decorations (#3779) via @Tyriar
Decorations are now rendered in the same frame as the buffer, ensuring they stay in sync (#3796, #3818) via @meganrogge
Fire onSelectionChange when Terminal.select is called (#3805) via @Tyriar
Padding is now taken into account when converting mouse coordinates to cell positions (#3826) via @Tyriar
Exclude box drawing and block glyphs from the minimum contrast ratio as they are typically used to blend with background colors (#3844) via @meganrogge
Fix a minimum contrast ratio edge case with inverted text in the DOM renderer (#3846) via @meganrogge
Only send the wheel mouse event when scrolling a line or more (#3869) via @pfitzseb
π Documentation and internal improvements
Replace internal use of getOption/setOption with options (#3667) via @childrentime