Wez Furlong 7aadebfe48 termwiz: fix panic when appending long runs to clusterline
There were two different overflows that could happen here when
resizing the terminal from a narrow width to a much wider width,
when the input consists of very very long logical lines.

The first was that we could overflow the maximum number of
cells in the ClusteredLine struct, which had u16 as its type.

The second, after changing u16 to u32, was the maximum length
of a run of cells with the same attribute.

The former could be fixed, preserving the smaller integer type,
by adjusting the API to allow it to return the overflow, but
that feels awkward and we could just increase the size of
the integer type.

The latter can be caught with an overflowing_add operation
and breaking the run in the overflow case.

That is what this commit does.

+bump codec version because this causes a small change
in the serialization of line data used by the mux
protocol.

refs: https://github.com/wezterm/wezterm/issues/6729
2025-03-08 12:25:06 -07:00
2023-10-02 16:35:42 -07:00
2025-02-09 20:36:44 -07:00
2025-02-12 09:43:36 -07:00
2024-05-13 08:29:36 -07:00
2025-02-12 09:43:36 -07:00
2024-05-13 08:29:36 -07:00
2025-02-12 09:43:36 -07:00
2025-03-06 15:23:38 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-22 05:38:10 -08:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2025-02-12 09:43:36 -07:00
2024-05-19 16:38:06 -07:00
2022-12-07 12:09:06 -08:00
2025-03-06 15:23:38 -07:00
2025-02-12 11:39:41 -07:00
2025-03-06 11:40:03 -08:00
2024-05-13 08:29:36 -07:00
2022-01-16 16:04:35 -07:00
2024-05-19 16:38:06 -07:00
2025-02-07 13:08:01 -07:00
2025-02-07 13:08:01 -07:00

Wez's Terminal

WezTerm Icon 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

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!

Read more about sponsoring.

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%