Wez Furlong cc15f97a55 mux: only resize zoomed pane when resizing a tab
Previously, when resizing a tab, we'd unzoom it, recompute the resize
deltas and adjust every pane's non-zoomed position and re-zoom the
original pane.

When the alt screen is active, wezterm doesn't reflow resized lines,
and there a number of situations where the only effective change to
the line was updating a seqno; the content of those panes doesn't
actually update until the application(s) attached to the PTY
receive SIGWINCH from the kernel.

Since we were resizing the zoomed pane twice in quick succession
we could double-tap SIGWINCH and the application might coalesce
and process only one of the resize events.

The result of that was that we might see the state from either
the first or second resize event and then not get any other updates
until the application repainted itself.

This commit re-structures the resize behavior around zooms so that
we only resize the zoomed pane.  When unzooming we'll fixup the
no-zoomed sizes for the whole tab. That means that we need to
store the pre-zoom size in order to correctly calculate those
sizes for the case where a pane was zoomed, the tab resized, and
then the pane was unzoomed again.

refs: https://github.com/wez/wezterm/issues/3068
2023-02-07 09:32:08 -07:00
2019-06-08 21:28:11 -07:00
2022-11-27 21:37:25 -07:00
2022-05-21 21:09:11 -07:00
2023-02-05 09:05:48 -07:00
2022-11-18 10:03:49 -07:00
2022-12-19 17:33:00 -07:00
2022-08-17 07:19:12 -07:00
2022-12-30 08:37:53 -07:00
2022-11-01 07:05:33 -07:00
2022-10-04 08:55:31 -07:00
2022-11-02 08:16:09 -07:00
2023-01-20 20:02:29 -07:00
2022-08-17 07:19:12 -07:00
2023-02-05 09:05:48 -07:00
2023-02-01 08:05:08 -07:00
2023-01-22 23:35:22 -07:00
2021-02-03 21:56:30 -08:00
2022-12-07 12:09:06 -08:00
2023-02-06 07:19:31 -07:00
2022-12-19 12:23:04 -07:00
2022-07-29 13:18:53 -07:00
2022-10-04 09:01:12 -07:00
2022-01-16 16:04:35 -07:00
2022-09-15 06:32:16 -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://wezfurlong.org/wezterm/

Screenshot

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!

Sponsor WezTerm

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%