Skip to content

wezterm: use system libgit2, sqlite, and zstd - #584226

Merged
RossSmyth merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/wezterm
Nov 7, 2026
Merged

RossSmyth merged 1 commit into
NixOS:staging-nextfrom
whispersofthedawn:p/wezterm

Conversation

@whispersofthedawn

@whispersofthedawn whispersofthedawn commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

we now force rust packages/anything using the cargo setup hook to use our system versions of some common libraries, including libgit2, sqlite, and zstd. this fixes the build on current staging-next.

https://hydra.nixos.org/build/351747446

tfw we break one of our standard test packages

Things done

@nixpkgs-ci nixpkgs-ci Bot added the 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". label Nov 7, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from SuperSandro2000 and yvnth November 7, 2026 01:02
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 7, 2026

@RossSmyth RossSmyth left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • builds
  • runs post-build
  • ldd shows the new dependencies
  • headless builds

Wezterm builds and runs, wezterm.headless does not. Up to you if you want to fix it in this PR.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 7, 2026
@whispersofthedawn

Copy link
Copy Markdown
Contributor Author

fixed headless.

we now force rust packages/anything using the cargo setup hook to use
our system versions of some common libraries, including libgit2, sqlite,
and zstd. this fixes the build on current staging-next.

https://hydra.nixos.org/build/351747446

@RossSmyth RossSmyth left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

headless builds, works, ldds

@RossSmyth
RossSmyth added this pull request to the merge queue Nov 7, 2026
Merged via the queue into NixOS:staging-next with commit 3582ed4 Nov 7, 2026
28 checks passed
@whispersofthedawn
whispersofthedawn deleted the p/wezterm branch November 7, 2026 04:31
bew pushed a commit to wezterm/wezterm that referenced this pull request Nov 13, 2026
Upstream nixpkgs now requires system dependencies
for Rust packages.

Related to NixOS/nixpkgs#584226
gilescope added a commit to gilescope/wezterm that referenced this pull request Nov 23, 2026
…10)

* docs(ssh_backend): Fix typo for default value in title (wezterm#8280)

* term: Send current focus immediatly when focus tracking starts (wezterm#8325)

Other terminals do this when enabling focus tracking, and some programs
behave much better when they get it.
For instance, vim enables focus tracking when resumed after being
backgrounded, and then processes things on the focus event, such as
noticing if a file was changed.

Without this patch: saving a file in vim, Ctrl-Z, `cargo fmt --all`,
and `fg`; vim doesn't immediately notice the file was changed to reload it. (and then, you might edit the file further, and get a conflict later
when vim notices)

With this patch: vim notices the changes right away, making for a
smoother experience.

* win,blob: Fix duplicate blob storage on Windows (wezterm#7955)

Reuse live content-addressed blobs instead of replacing them.
This avoids ERROR_ACCESS_DENIED when a reader still has the existing
file open and keeps the reference count balanced.


---------

Co-authored-by: Tomauskasz <[email protected]>

* overlay: fix title updating only on next user action (wezterm#8031)

* nix: Add missing build inputs to the flake (wezterm#8335)

Upstream nixpkgs now requires system dependencies
for Rust packages.

Related to NixOS/nixpkgs#584226

* nix: Update flake inputs: flake-utils, nixpkgs, rust-overlay

* nix: Split the package out and drop flake-utils

- Move the derivation into `nix/package.nix` as a callPackage
  function, deriving its version from the flake revision.
- Derive the per-system list from nixpkgs instead of `flake-utils`.
- Reuse the package's build inputs in the devShell via `inputsFrom`,
  keeping only the dlopened runtime libraries explicit.

* fix(gui): paste into the tab search box instead of the terminal

Assisted-by: Claude:claude-sonnet-5-5 claude-code
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011JRi11GSfwZadj4Th9ENfU

* ci: Pin sccache to v0.16.0 on Windows (wezterm#8360)

sccache 0.17 and later expand cargo's rustc argfile and then spawn
rustc with the full command line, which exceeds the Windows limit when
building `mux` ("The filename or extension is too long", os error 206).
v0.16.0 passes the argfile through to rustc instead.

See mozilla/sccache#2787

* x11: Fix emits of additional ANSI chars from non-standard mods (wezterm#4991)

This ensures that ANSI chars won't be emitted when pressing
non-standard modifier keys.

Fixes wezterm#4975

* macos: fix titlebar using bg color on fullscreen exit (wezterm#7792)

When using MACOS_USE_BACKGROUND_COLOR_AS_TITLEBAR_COLOR,
exiting fullscreen didn't update the titlebar, making it disappear.

* docs(set_config_overrides): Add example to adjust window opacity (wezterm#7766)

* config: Show `mods` before `key` for `wezterm show-keys --lua` (wezterm#7539)

* lua: Add `wezterm.url.encode` function to percent encode string (wezterm#7131)

This is helpful to encode a string to pass it as query string.

* docs: fixed many small issues in Lua docs pages (wezterm#7124)

* lua: fixed markdown lists not rendering correctly in webpage
* unicode_version: fixed typo in markdown file
* visual_bell: fixed typo in documentation
* load_base16_scheme: added comma for redaction, etc.
* truncate_right: corrected improper punctuation
* mux: improved Lua snippet in `rename_workspace`
* wezterm.color.save_scheme: improved docs
* wezterm.plugin: improved every function's docs
* visual_bell: added missing code enclosures

---------

Signed-off-by: Guennadi Maximov C <[email protected]>

* linux: Use 'Normal' priority for DBus notifications (wezterm#7555)

When urgency is set to critical, both KDE and GNOME ignore the
duration/lifetime of the notification and it never closes on its own.

ref: wezterm#489

* docs: fix typo on 8-bit escape sequence recognition (wezterm#7585)

* docs: Fix mermaid newlines in what-is-a-terminal.md (wezterm#7195)

Co-authored-by: Benoit de Chezelles <[email protected]>

* wezterm-gui: fix max tab title length being always at max, even on 2nd run (wezterm#7526)

* wezterm-dynamic: Allow unreachable code in macro for infallible conversion (wezterm#8364)

The macro impl of `FromDynamic` can have unreachable error paths for
types that have infallible conversions from i64/u64 (i.e. i64 & u64).

* termwiz: fix `Se` terminfo entry to reset cursor to configured default (wezterm#7762)

* misc: Replace uses of deprecated `::max_value()` with `::MAX` (wezterm#8365)

* termwiz: Add a CI guard+tests for the compiled terminfo entry (wezterm#8368)

The compiled terminfo is reduced to a single artifact that CI checks
against its text source, failing on any drift.
Tests load the embedded entry and cover an XTGETTCAP response.

* macos: Fix IME commit being lost when a key ends composition (wezterm#8109)

Clearing ime_text before interpretKeyEvents makes hasMarkedText()
answer NO while a composition is active. AppKit consults it when
applying text that an input method commits during the key event,
and discards commit text arriving together with a function key.
Korean IMEs finalize the composing syllable when an arrow key is
pressed, so that syllable was lost instead of being committed.

ime_text is maintained by setMarkedText/insertText/unmarkText, so
removing the pre-clear leaves the state correct.

refs: wezterm#6907

* wezterm-gui: Suppress unused build-dependency warning on `anyhow` (used on some targets) (wezterm#8367)

`wezterm-gui`'s `build.rs` uses `anyhow` on windows and macos. On other
platforms, such as Linux, it produces a warning about the unused build
dependency.

`wezterm-gui` already needs it as a dependency, so removing it as a
build dependency doesn't really help anything.

Thus, rather than encode the targets that use it, add a
```rust
use anyhow as _;
```
to suppress the warning by making it "used" everywhere.

* termwiz: take &self in Terminal::get_screen_size

No implementation needs mutable access to report the size. The Unix
version issues TIOCGWINSZ on the fd, the Windows version calls
GetConsoleScreenBufferInfo on the handle, and the mux and ssh
implementations copy a cached value.

The &mut requirement came from the UnixTty::get_size and
ConsoleOutputHandle::get_buffer_info helpers, which are both read-only
queries, so they take &self too.

This is a breaking change for implementors of Terminal. Callers are
unaffected, since &mut T coerces to &T.

* termwiz: add BufferedTerminal::terminal_ref

The only way to reach the terminal inside a BufferedTerminal was
terminal(&mut self), so code holding a shared reference could not ask
it for anything, including its size. dimensions(), reached through
Deref<Target = Surface>, is the size of the cached surface and only
changes when check_for_resize is called.

terminal_ref(&self) is the shared-reference counterpart to terminal(),
so callers can use the now &self Terminal::get_screen_size to get the
real size.

* feat(window): add window:get_position() for the client area's screen origin

Mirrors set_window_position. macOS only; other backends resolve to nil.
The macOS getter is the one new unsafe use (an NSWindow frame read).

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): expose content_left/content_top in window:get_dimensions()

The pane area is inset by the tab bars; scripts that place a companion
window over the panes need those offsets.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* docs: typo fix

* feat(gui): optional Browser button in the tab bar

show_browser_button_in_tab_bar draws a tab-styled button beside the search
box. Clicking emits the browser-toggle event, and it is lit while the active
tab is titled Browser, so a script can host a browser in a tab.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

---------

Signed-off-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Zain Qureshi <[email protected]>
Co-authored-by: Josh Triplett <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Huy Phung <[email protected]>
Co-authored-by: Rui Jiang <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: giles-bot <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Josh McKinney <[email protected]>
Co-authored-by: Marc Schreiber <[email protected]>
Co-authored-by: AIAlloc <[email protected]>
Co-authored-by: Tautik Agrahari <[email protected]>
Co-authored-by: Vikas Kumar <[email protected]>
Co-authored-by: mgpinf <[email protected]>
Co-authored-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Eduard Korchmar <[email protected]>
Co-authored-by: Ayman Bagabas <[email protected]>
Co-authored-by: Ricky Blackman <[email protected]>
Co-authored-by: Eric Shen <[email protected]>
Co-authored-by: Kyle Sower <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: Kiyoon Kim <[email protected]>
Co-authored-by: Dani <[email protected]>
gilescope added a commit to gilescope/wezterm that referenced this pull request Nov 25, 2026
…tab scrolling (#11)

* docs(ssh_backend): Fix typo for default value in title (wezterm#8280)

* term: Send current focus immediatly when focus tracking starts (wezterm#8325)

Other terminals do this when enabling focus tracking, and some programs
behave much better when they get it.
For instance, vim enables focus tracking when resumed after being
backgrounded, and then processes things on the focus event, such as
noticing if a file was changed.

Without this patch: saving a file in vim, Ctrl-Z, `cargo fmt --all`,
and `fg`; vim doesn't immediately notice the file was changed to reload it. (and then, you might edit the file further, and get a conflict later
when vim notices)

With this patch: vim notices the changes right away, making for a
smoother experience.

* win,blob: Fix duplicate blob storage on Windows (wezterm#7955)

Reuse live content-addressed blobs instead of replacing them.
This avoids ERROR_ACCESS_DENIED when a reader still has the existing
file open and keeps the reference count balanced.


---------

Co-authored-by: Tomauskasz <[email protected]>

* overlay: fix title updating only on next user action (wezterm#8031)

* nix: Add missing build inputs to the flake (wezterm#8335)

Upstream nixpkgs now requires system dependencies
for Rust packages.

Related to NixOS/nixpkgs#584226

* nix: Update flake inputs: flake-utils, nixpkgs, rust-overlay

* nix: Split the package out and drop flake-utils

- Move the derivation into `nix/package.nix` as a callPackage
  function, deriving its version from the flake revision.
- Derive the per-system list from nixpkgs instead of `flake-utils`.
- Reuse the package's build inputs in the devShell via `inputsFrom`,
  keeping only the dlopened runtime libraries explicit.

* fix(gui): paste into the tab search box instead of the terminal

Assisted-by: Claude:claude-sonnet-5-5 claude-code
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011JRi11GSfwZadj4Th9ENfU

* ci: Pin sccache to v0.16.0 on Windows (wezterm#8360)

sccache 0.17 and later expand cargo's rustc argfile and then spawn
rustc with the full command line, which exceeds the Windows limit when
building `mux` ("The filename or extension is too long", os error 206).
v0.16.0 passes the argfile through to rustc instead.

See mozilla/sccache#2787

* x11: Fix emits of additional ANSI chars from non-standard mods (wezterm#4991)

This ensures that ANSI chars won't be emitted when pressing
non-standard modifier keys.

Fixes wezterm#4975

* macos: fix titlebar using bg color on fullscreen exit (wezterm#7792)

When using MACOS_USE_BACKGROUND_COLOR_AS_TITLEBAR_COLOR,
exiting fullscreen didn't update the titlebar, making it disappear.

* docs(set_config_overrides): Add example to adjust window opacity (wezterm#7766)

* config: Show `mods` before `key` for `wezterm show-keys --lua` (wezterm#7539)

* lua: Add `wezterm.url.encode` function to percent encode string (wezterm#7131)

This is helpful to encode a string to pass it as query string.

* docs: fixed many small issues in Lua docs pages (wezterm#7124)

* lua: fixed markdown lists not rendering correctly in webpage
* unicode_version: fixed typo in markdown file
* visual_bell: fixed typo in documentation
* load_base16_scheme: added comma for redaction, etc.
* truncate_right: corrected improper punctuation
* mux: improved Lua snippet in `rename_workspace`
* wezterm.color.save_scheme: improved docs
* wezterm.plugin: improved every function's docs
* visual_bell: added missing code enclosures

---------

Signed-off-by: Guennadi Maximov C <[email protected]>

* linux: Use 'Normal' priority for DBus notifications (wezterm#7555)

When urgency is set to critical, both KDE and GNOME ignore the
duration/lifetime of the notification and it never closes on its own.

ref: wezterm#489

* docs: fix typo on 8-bit escape sequence recognition (wezterm#7585)

* docs: Fix mermaid newlines in what-is-a-terminal.md (wezterm#7195)

Co-authored-by: Benoit de Chezelles <[email protected]>

* wezterm-gui: fix max tab title length being always at max, even on 2nd run (wezterm#7526)

* wezterm-dynamic: Allow unreachable code in macro for infallible conversion (wezterm#8364)

The macro impl of `FromDynamic` can have unreachable error paths for
types that have infallible conversions from i64/u64 (i.e. i64 & u64).

* termwiz: fix `Se` terminfo entry to reset cursor to configured default (wezterm#7762)

* misc: Replace uses of deprecated `::max_value()` with `::MAX` (wezterm#8365)

* termwiz: Add a CI guard+tests for the compiled terminfo entry (wezterm#8368)

The compiled terminfo is reduced to a single artifact that CI checks
against its text source, failing on any drift.
Tests load the embedded entry and cover an XTGETTCAP response.

* macos: Fix IME commit being lost when a key ends composition (wezterm#8109)

Clearing ime_text before interpretKeyEvents makes hasMarkedText()
answer NO while a composition is active. AppKit consults it when
applying text that an input method commits during the key event,
and discards commit text arriving together with a function key.
Korean IMEs finalize the composing syllable when an arrow key is
pressed, so that syllable was lost instead of being committed.

ime_text is maintained by setMarkedText/insertText/unmarkText, so
removing the pre-clear leaves the state correct.

refs: wezterm#6907

* wezterm-gui: Suppress unused build-dependency warning on `anyhow` (used on some targets) (wezterm#8367)

`wezterm-gui`'s `build.rs` uses `anyhow` on windows and macos. On other
platforms, such as Linux, it produces a warning about the unused build
dependency.

`wezterm-gui` already needs it as a dependency, so removing it as a
build dependency doesn't really help anything.

Thus, rather than encode the targets that use it, add a
```rust
use anyhow as _;
```
to suppress the warning by making it "used" everywhere.

* termwiz: take &self in Terminal::get_screen_size

No implementation needs mutable access to report the size. The Unix
version issues TIOCGWINSZ on the fd, the Windows version calls
GetConsoleScreenBufferInfo on the handle, and the mux and ssh
implementations copy a cached value.

The &mut requirement came from the UnixTty::get_size and
ConsoleOutputHandle::get_buffer_info helpers, which are both read-only
queries, so they take &self too.

This is a breaking change for implementors of Terminal. Callers are
unaffected, since &mut T coerces to &T.

* termwiz: add BufferedTerminal::terminal_ref

The only way to reach the terminal inside a BufferedTerminal was
terminal(&mut self), so code holding a shared reference could not ask
it for anything, including its size. dimensions(), reached through
Deref<Target = Surface>, is the size of the cached surface and only
changes when check_for_resize is called.

terminal_ref(&self) is the shared-reference counterpart to terminal(),
so callers can use the now &self Terminal::get_screen_size to get the
real size.

* feat(window): add window:get_position() for the client area's screen origin

Mirrors set_window_position. macOS only; other backends resolve to nil.
The macOS getter is the one new unsafe use (an NSWindow frame read).

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): expose content_left/content_top in window:get_dimensions()

The pane area is inset by the tab bars; scripts that place a companion
window over the panes need those offsets.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* docs: typo fix

* feat(gui): optional Browser button in the tab bar

show_browser_button_in_tab_bar draws a tab-styled button beside the search
box. Clicking emits the browser-toggle event, and it is lit while the active
tab is titled Browser, so a script can host a browser in a tab.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): plain-click links under mouse grabbing; progress cursor on link open

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): tab search also hits pages a tab carries (title and URL)

A tab can carry search items from Lua (set_search_items); each becomes a row
under the tab once a query is typed. Picking one activates the tab and emits
search-item-picked, with take_search_pick telling the handler which.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): scrolling through tabs holds matrix rain, then resolves into the tab you land on

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(gui): a scroll resolves out of the rain without blanking the pane

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(gui): one continuous matrix effect across a scroll and the landing

The rain runs on one time base while scrolling; on landing a reveal front
wipes it away to the tab, instead of starting a second animation.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

---------

Signed-off-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Zain Qureshi <[email protected]>
Co-authored-by: Josh Triplett <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Huy Phung <[email protected]>
Co-authored-by: Rui Jiang <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: giles-bot <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Josh McKinney <[email protected]>
Co-authored-by: Marc Schreiber <[email protected]>
Co-authored-by: AIAlloc <[email protected]>
Co-authored-by: Tautik Agrahari <[email protected]>
Co-authored-by: Vikas Kumar <[email protected]>
Co-authored-by: mgpinf <[email protected]>
Co-authored-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Eduard Korchmar <[email protected]>
Co-authored-by: Ayman Bagabas <[email protected]>
Co-authored-by: Ricky Blackman <[email protected]>
Co-authored-by: Eric Shen <[email protected]>
Co-authored-by: Kyle Sower <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: Kiyoon Kim <[email protected]>
Co-authored-by: Dani <[email protected]>
gilescope added a commit to gilescope/wezterm that referenced this pull request Nov 25, 2026
… transitions (#12)

* docs(ssh_backend): Fix typo for default value in title (wezterm#8280)

* term: Send current focus immediatly when focus tracking starts (wezterm#8325)

Other terminals do this when enabling focus tracking, and some programs
behave much better when they get it.
For instance, vim enables focus tracking when resumed after being
backgrounded, and then processes things on the focus event, such as
noticing if a file was changed.

Without this patch: saving a file in vim, Ctrl-Z, `cargo fmt --all`,
and `fg`; vim doesn't immediately notice the file was changed to reload it. (and then, you might edit the file further, and get a conflict later
when vim notices)

With this patch: vim notices the changes right away, making for a
smoother experience.

* win,blob: Fix duplicate blob storage on Windows (wezterm#7955)

Reuse live content-addressed blobs instead of replacing them.
This avoids ERROR_ACCESS_DENIED when a reader still has the existing
file open and keeps the reference count balanced.


---------

Co-authored-by: Tomauskasz <[email protected]>

* overlay: fix title updating only on next user action (wezterm#8031)

* nix: Add missing build inputs to the flake (wezterm#8335)

Upstream nixpkgs now requires system dependencies
for Rust packages.

Related to NixOS/nixpkgs#584226

* nix: Update flake inputs: flake-utils, nixpkgs, rust-overlay

* nix: Split the package out and drop flake-utils

- Move the derivation into `nix/package.nix` as a callPackage
  function, deriving its version from the flake revision.
- Derive the per-system list from nixpkgs instead of `flake-utils`.
- Reuse the package's build inputs in the devShell via `inputsFrom`,
  keeping only the dlopened runtime libraries explicit.

* fix(gui): paste into the tab search box instead of the terminal

Assisted-by: Claude:claude-sonnet-5-5 claude-code
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011JRi11GSfwZadj4Th9ENfU

* ci: Pin sccache to v0.16.0 on Windows (wezterm#8360)

sccache 0.17 and later expand cargo's rustc argfile and then spawn
rustc with the full command line, which exceeds the Windows limit when
building `mux` ("The filename or extension is too long", os error 206).
v0.16.0 passes the argfile through to rustc instead.

See mozilla/sccache#2787

* x11: Fix emits of additional ANSI chars from non-standard mods (wezterm#4991)

This ensures that ANSI chars won't be emitted when pressing
non-standard modifier keys.

Fixes wezterm#4975

* macos: fix titlebar using bg color on fullscreen exit (wezterm#7792)

When using MACOS_USE_BACKGROUND_COLOR_AS_TITLEBAR_COLOR,
exiting fullscreen didn't update the titlebar, making it disappear.

* docs(set_config_overrides): Add example to adjust window opacity (wezterm#7766)

* config: Show `mods` before `key` for `wezterm show-keys --lua` (wezterm#7539)

* lua: Add `wezterm.url.encode` function to percent encode string (wezterm#7131)

This is helpful to encode a string to pass it as query string.

* docs: fixed many small issues in Lua docs pages (wezterm#7124)

* lua: fixed markdown lists not rendering correctly in webpage
* unicode_version: fixed typo in markdown file
* visual_bell: fixed typo in documentation
* load_base16_scheme: added comma for redaction, etc.
* truncate_right: corrected improper punctuation
* mux: improved Lua snippet in `rename_workspace`
* wezterm.color.save_scheme: improved docs
* wezterm.plugin: improved every function's docs
* visual_bell: added missing code enclosures

---------

Signed-off-by: Guennadi Maximov C <[email protected]>

* linux: Use 'Normal' priority for DBus notifications (wezterm#7555)

When urgency is set to critical, both KDE and GNOME ignore the
duration/lifetime of the notification and it never closes on its own.

ref: wezterm#489

* docs: fix typo on 8-bit escape sequence recognition (wezterm#7585)

* docs: Fix mermaid newlines in what-is-a-terminal.md (wezterm#7195)

Co-authored-by: Benoit de Chezelles <[email protected]>

* wezterm-gui: fix max tab title length being always at max, even on 2nd run (wezterm#7526)

* wezterm-dynamic: Allow unreachable code in macro for infallible conversion (wezterm#8364)

The macro impl of `FromDynamic` can have unreachable error paths for
types that have infallible conversions from i64/u64 (i.e. i64 & u64).

* termwiz: fix `Se` terminfo entry to reset cursor to configured default (wezterm#7762)

* misc: Replace uses of deprecated `::max_value()` with `::MAX` (wezterm#8365)

* termwiz: Add a CI guard+tests for the compiled terminfo entry (wezterm#8368)

The compiled terminfo is reduced to a single artifact that CI checks
against its text source, failing on any drift.
Tests load the embedded entry and cover an XTGETTCAP response.

* macos: Fix IME commit being lost when a key ends composition (wezterm#8109)

Clearing ime_text before interpretKeyEvents makes hasMarkedText()
answer NO while a composition is active. AppKit consults it when
applying text that an input method commits during the key event,
and discards commit text arriving together with a function key.
Korean IMEs finalize the composing syllable when an arrow key is
pressed, so that syllable was lost instead of being committed.

ime_text is maintained by setMarkedText/insertText/unmarkText, so
removing the pre-clear leaves the state correct.

refs: wezterm#6907

* wezterm-gui: Suppress unused build-dependency warning on `anyhow` (used on some targets) (wezterm#8367)

`wezterm-gui`'s `build.rs` uses `anyhow` on windows and macos. On other
platforms, such as Linux, it produces a warning about the unused build
dependency.

`wezterm-gui` already needs it as a dependency, so removing it as a
build dependency doesn't really help anything.

Thus, rather than encode the targets that use it, add a
```rust
use anyhow as _;
```
to suppress the warning by making it "used" everywhere.

* termwiz: take &self in Terminal::get_screen_size

No implementation needs mutable access to report the size. The Unix
version issues TIOCGWINSZ on the fd, the Windows version calls
GetConsoleScreenBufferInfo on the handle, and the mux and ssh
implementations copy a cached value.

The &mut requirement came from the UnixTty::get_size and
ConsoleOutputHandle::get_buffer_info helpers, which are both read-only
queries, so they take &self too.

This is a breaking change for implementors of Terminal. Callers are
unaffected, since &mut T coerces to &T.

* termwiz: add BufferedTerminal::terminal_ref

The only way to reach the terminal inside a BufferedTerminal was
terminal(&mut self), so code holding a shared reference could not ask
it for anything, including its size. dimensions(), reached through
Deref<Target = Surface>, is the size of the cached surface and only
changes when check_for_resize is called.

terminal_ref(&self) is the shared-reference counterpart to terminal(),
so callers can use the now &self Terminal::get_screen_size to get the
real size.

* feat(window): add window:get_position() for the client area's screen origin

Mirrors set_window_position. macOS only; other backends resolve to nil.
The macOS getter is the one new unsafe use (an NSWindow frame read).

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): expose content_left/content_top in window:get_dimensions()

The pane area is inset by the tab bars; scripts that place a companion
window over the panes need those offsets.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* docs: typo fix

* feat(gui): optional Browser button in the tab bar

show_browser_button_in_tab_bar draws a tab-styled button beside the search
box. Clicking emits the browser-toggle event, and it is lit while the active
tab is titled Browser, so a script can host a browser in a tab.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): plain-click links under mouse grabbing; progress cursor on link open

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): tab search also hits pages a tab carries (title and URL)

A tab can carry search items from Lua (set_search_items); each becomes a row
under the tab once a query is typed. Picking one activates the tab and emits
search-item-picked, with take_search_pick telling the handler which.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): scrolling through tabs holds matrix rain, then resolves into the tab you land on

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(gui): a scroll resolves out of the rain without blanking the pane

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(gui): one continuous matrix effect across a scroll and the landing

The rain runs on one time base while scrolling; on landing a reveal front
wipes it away to the tab, instead of starting a second animation.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(term): acknowledge a kitty transmit that names its image with i=

Only I= (image number) transmits were answered with OK; a program that
transmits a pixel with i= to probe graphics support never got a reply.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(escape-parser): read kitty shared memory with mmap on macOS

macOS has no read()/seek() on POSIX shared memory, so t=s transfers failed
with 'Device not configured' and frames never displayed.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(term): a kitty shm frame uses its pixel size, not macOS's page padding

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* perf(term): do not SHA-256 large kitty frames

A program streaming big frames (a browser in a pane) never repeats one, so a
content hash of megabytes per frame only costs CPU. Frames of 1 MiB or more
get a cheap unique id; smaller images keep the content hash.

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* feat(gui): browser_button_label sets the Browser button's text

Assisted-by: Claude:claude-sonnet-5-5 claude-code

* fix(input): a kitty-encoded shifted key reports Shift even when the event has none

The macOS text-input path delivers '@' or 'A' as the character alone, with no
modifiers. The encoding named the unshifted key with the typed character as
the alternate but no Shift, so a receiver following the spec saw '2' or 'a'.

Assisted-by: Claude:claude-fable-5-2 claude-code

* feat(gui): a picture pane falls away in the matrix tab switch, like text

Leaving a tab that shows a picture (a browser pane) blanked it at once, as
its cells hold no text. Its picture cells now count as changed and fall with
their columns in the same transition that builds the new tab.

Assisted-by: Claude:claude-fable-5-2 claude-code

* feat(gui): the rain waits for a loading pane's picture; stacked pictures all fall

A pane that sets the user variable wezterm_hold_rain_for_picture has nothing
to show yet (a browser tab unloaded to save memory). Switching to it holds the
rain until its picture arrives, at most 2.5 s, so the reload hides inside the
transition. Also: every picture in a cell falls, not only the top one, which
for a browser pane is a mostly transparent toolbar layer.

Assisted-by: Claude:claude-fable-5-2 claude-code

* docs(readme): describe the fork's tab features

Assisted-by: Claude:claude-fable-5-2 claude-code

* docs(readme): list the fork's features with the option that enables each

Assisted-by: Claude:claude-fable-5-2 claude-code

* docs(readme): name the awrit commit that works with this fork

Assisted-by: Claude:claude-fable-5-2 claude-code

---------

Signed-off-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Zain Qureshi <[email protected]>
Co-authored-by: Josh Triplett <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Tomauskasz <[email protected]>
Co-authored-by: Huy Phung <[email protected]>
Co-authored-by: Rui Jiang <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: giles-bot <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
Co-authored-by: Josh McKinney <[email protected]>
Co-authored-by: Marc Schreiber <[email protected]>
Co-authored-by: AIAlloc <[email protected]>
Co-authored-by: Tautik Agrahari <[email protected]>
Co-authored-by: Vikas Kumar <[email protected]>
Co-authored-by: mgpinf <[email protected]>
Co-authored-by: Guennadi Maximov C <[email protected]>
Co-authored-by: Eduard Korchmar <[email protected]>
Co-authored-by: Ayman Bagabas <[email protected]>
Co-authored-by: Ricky Blackman <[email protected]>
Co-authored-by: Eric Shen <[email protected]>
Co-authored-by: Kyle Sower <[email protected]>
Co-authored-by: Benoit de Chezelles <[email protected]>
Co-authored-by: Kiyoon Kim <[email protected]>
Co-authored-by: Dani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants