54e70e51d2161aaf7f2e696acb2cf29f26717f3f
refs: https://github.com/wezterm/wezterm/issues/1422 refs: https://github.com/wezterm/wezterm/issues/6637 When we encounter a zero-width grapheme we need to be a little bit smarter about how we handle it. In the original implementation we'd unconditionally remap these graphemes into a cell, effectively making them appear as a blank cell with width of one. Later we discovered that eg: BIDI control characters should not be forced to display in this way, so the logic was changed to elide these graphemes from the model. Subsequently we've found that the unicode line separator should be treated as a blank. The unicode FAQ says that any character that has the White_Space property should be treated that way. This commit applies that logic: if we get a zero-width grapheme, if it is white space we'll force it to have a width of 1, otherwise we'll elide it from the model. This probably is still not perfect, but hopefully balances things out to be good enough, at least until we find an example of where it isn't the right call!
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://wezterm.org/
Screenshot of wezterm on macOS, running vim
Installation
https://wezterm.org/installation
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%
