28d803e3f4fe5f5ded0c1b48eb22e34820c82a25
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.
Wez's Terminal
A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
User facing docs and guide at: https://wezfurlong.org/wezterm/
Screenshot of wezterm on macOS, running vim
Installation
https://wezfurlong.org/wezterm/installation.html
Getting help
This is a spare time project, so please bear with me. There are a couple of channels for support:
- You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one.
- Start or join a thread in our GitHub Discussions; if you have general questions or want to chat with other wezterm users, you're welcome here!
- There is a Matrix room via Element.io for (potentially!) real time discussions.
The GitHub Discussions and Element/Gitter rooms are better suited for questions than bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.
Supporting the Project
If you use and like WezTerm, please consider sponsoring it: your support helps to cover the fees required to maintain the project and to validate the time spent working on it!
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
316 MiB
0 Stars
2 Watchers
0 Forks
Languages
Rust
97.7%
Python
1%
Shell
0.9%
Nix
0.2%
