mirror of
https://github.com/wez/wezterm.git
synced 2024-12-28 07:55:03 +03:00
28d803e3f4
Previously, we'd unconditionally enable dual source blending for the text foreground layer when rendering. That meant that if the user had configured the fg color to include an alpha value it would get "stamped through" the draw all the way to the background, making that whole pixel take on that alpha value rather than allowing it to blend through the way you might expect. In prior releases that didn't matter, but since we now allow configuring the fg color with alpha, and allow using escape sequences to set the fg for a span to something with alpha, there is now a much higher chance of something looking weird. Dual source blending is only really needed for subpixel-aa and that isn't enabled by default. This commit changes the behavior to use regular alpha blending if the main config (rather than a per-font override) hasn't set the freetype load/render target to one that enables subpixel-aa. That means that alpha channel values work as expected for fg color by default. If you want to enable subpixel-aa you need to enable it globally and be aware that it will cause weirdness when trying to use alpha channels for the fg text color. The docs now also indicate this behavior. This limitation could be removed by making text rendering significantly more complex and I don't fancy doing that at this time. |
||
---|---|---|
.. | ||
cli | ||
colorschemes | ||
config | ||
examples | ||
install | ||
screenshots | ||
_config.yml | ||
asciinema-player.css | ||
asciinema-player.min.js | ||
book.toml | ||
changelog.md | ||
contributing.md | ||
copymode.md | ||
custom.css | ||
escape-sequences.md | ||
faq.md | ||
features.md | ||
help.md | ||
hyperlinks.md | ||
imgcat.md | ||
index.md | ||
installation.md | ||
mermaid-init.js | ||
multiplexing.md | ||
quickselect.md | ||
README.markdown | ||
scrollback.md | ||
serial.md | ||
shell-integration.md | ||
ssh.md |
This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm