1
1
mirror of https://github.com/wez/wezterm.git synced 2024-10-27 08:09:45 +03:00
wezterm/docs
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
..
cli add wezterm cli get-text command 2023-02-05 09:05:48 -07:00
colorschemes sync color schemes 2023-01-11 16:30:58 -07:00
config docs: link to dark mode example from appearance section 2023-02-06 20:32:37 -07:00
examples update derived files 2023-02-05 09:22:33 -07:00
install Change to the command to upgrade wezterm-nightly 2023-02-06 05:04:12 -08:00
recipes docs: shell-integration: cover the new built-in user-vars 2023-01-23 10:50:49 -07:00
screenshots docs for new background config 2022-05-31 23:20:11 -07:00
_config.yml docs: switch to the "Hacker" theme which is darker 2019-12-18 09:25:36 -08:00
asciinema-player.css docs: use asciinema's web player for screenshots 2022-07-09 18:59:44 -07:00
asciinema-player.min.js docs: use asciinema's web player for screenshots 2022-07-09 18:59:44 -07:00
book.toml docs: use asciinema's web player for screenshots 2022-07-09 18:59:44 -07:00
changelog.md mux: only resize zoomed pane when resizing a tab 2023-02-07 09:32:08 -07:00
contributing.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
copymode.md Add bindings for Home and End in copy_mode (#2762) 2023-02-05 09:20:01 -07:00
custom.css docs: css for https://github.com/wez/wezterm/pull/2911 2023-01-19 09:07:00 -07:00
escape-sequences.md docs: released 20221119-145034-49b9839f 2022-11-20 06:53:49 -07:00
faq.md docs: apply stylua formatting 2022-07-19 07:54:31 -07:00
features.md Fix shortcut for "move between panes": shift was missing 2022-07-12 22:42:35 -07:00
help.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
hyperlinks.md docs: apply stylua formatting 2022-07-19 07:54:31 -07:00
imgcat.md docs: update for 20220319-142410-0fcdea07 2022-03-19 16:37:27 -07:00
index.md Use SVG icon 2022-09-15 06:32:16 -07:00
installation.md docs: add installation info for FreeBSD 2021-03-03 08:45:58 -08:00
mermaid-init.js docs: adopt mermaid-js for flowchart 2022-04-03 22:09:17 -07:00
multiplexing.md docs: apply stylua formatting 2022-07-19 07:54:31 -07:00
quickselect.md Document CopyMode/QuickSelect Colors (#2324) 2022-07-29 18:00:03 -07:00
README.markdown docs: redirect people from GH docs dir to website 2021-12-12 07:54:01 -07:00
scrollback.md Fix typo 2022-09-11 12:10:53 -07:00
serial.md docs: upgrade to mdbook 0.4, enable link checking 2021-01-30 14:14:29 -08:00
shell-integration.md docs: shell-integration: cover the new built-in user-vars 2023-01-23 10:50:49 -07:00
ssh.md ssh: support BindAddress 2022-04-15 20:53:07 -07:00
troubleshooting.md docs: add troubleshooting section 2023-01-19 10:44:05 -07:00
what-is-a-terminal.md docs: add a bit explaining what a terminal is 2023-01-25 11:24:34 -07:00

This directory contains the sources for the documentation. Read the generated documentation at: https://wezfurlong.org/wezterm