Commit Graph
8676 Commits
Author SHA1 Message Date
xtqqczze 568f4ffadc pty: Replace winapi with windows-sys (#8073) 2026-08-25 18:11:17 +02:00
Jafar Uruç cdb6bf7790 async-ossl: vendor OpenSSL for musl targets (#8028) 2026-08-25 16:52:23 +02:00
DrGo c4959447c6 docs: Remove '--no-quarantine' for nightly upgrade via Homebrew
It is no longer a valid option.

refs: https://github.com/Homebrew/brew/issues/20755 & #7522
2026-08-25 16:22:58 +02:00
xtqqczze 86f17557f4 mux: Replace winapi with windows-sys (#8072) 2026-08-25 16:18:35 +02:00
Benoit de Chezelles f93d903500 docs: changelog for #8038 2026-08-23 23:01:48 +02:00
Adam WilliamsandAdam Williams 51019f8e65 macos: Fix window border when opacity<1 and shadow enabled (#8038)
This was seemingly due to MacOS quirks, and was fixed by using
a slightly transparent bg color to fix WM composition.

refs: #5158

---
Co-authored-by: Adam Williams <adam.g.williams.nz@gmail.com>
2026-08-23 22:57:04 +02:00
Benoit de Chezelles 770d8e1a75 docs: changelog for #7556, 7601, 7767, 7967, 8001, 8013 2026-08-20 09:51:06 +02:00
PatrickandBenoit de Chezelles 35680af7a4 macos: Fix top row dragging window when decorations are hidden (#7967)
fixes #4522

---
Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-08-20 08:35:01 +02:00
Benoit de Chezelles e95b37134a cell: Add docs/semantics for structs related to image storage in a cell 2026-08-20 00:57:13 +02:00
LoggerandIdo Samuelson 3ff7522b96 image(perf): hash each transmitted image once (#8065)
ImageDataType::Rgba8 carries the sha256 of its pixels, set wherever one
is built and refreshed wherever the pixels are mutated.
compute_hash always re-hashed the pixels to produce same stored hash.

Image hashing ran 3 times for every transmitted image:
- once in new_single_frame on image creation
- once for the cache key in raw_image_to_image_data
- once more in ImageData::with_data on the miss path

A 2400x1440 RGBA frame is 13.18MiB, so a client transmitting frames at
60fps spends most of its time budget there.

AnimRgba8 keeps hashing, because its stored hashes are per-frame, not
global, which compute_hash needs (all frames + their durations).

---------
Co-authored-by: Ido Samuelson <i-am-logger@users.noreply.github.com>
2026-08-19 18:37:03 +02:00
Dominik Stork 33891b4a5e docs: Fix missing word in keyboard-concepts.md (#8067) 2026-08-19 01:23:43 +02:00
Benoit de Chezelles 8c5af0db16 fmt 2026-08-19 01:14:35 +02:00
Benoit de Chezelles d7103b338a fixup! macos: Unify BOOL conversion behind from_yes_no/to_yes_no helpers 2026-08-18 23:45:49 +02:00
Benoit de Chezelles 2582d8b04a macos: Unify BOOL conversion behind from_yes_no/to_yes_no helpers
Introduce two small conversion fns to easily convert to/from objc' BOOL
type.

Update all places that benefits from this conversion to/from Rust-bool
to more easily compare & manipulate boolean values in logic/conditions.
2026-08-18 23:33:06 +02:00
xtqqczze 1300cfb9b2 filedescriptor: Replace winapi with windows-sys (#8026) 2026-08-18 21:38:28 +02:00
wezterm-bot[bot] e70244973c deps: update Cargo.lock via cooldown (#8040)
Co-authored-by: wezterm-bot[bot] <312868691+wezterm-bot[bot]@users.noreply.github.com>
2026-08-17 23:21:08 +02:00
yoonhc 9c04f79f86 docs: mention Fcitx5 X11 inline preedit setup (#8055) 2026-08-15 14:38:15 +02:00
Wez Furlong fe3006aefc term: reset more state on RIS full reset
When a program turns on modifyOtherKeys and exits uncleanly, it can
leave ctrl keys emitting escape sequences the shell doesn't understand.
The obvious recovery is the "Reset the terminal emulation state in the
current pane" command in the command palette, which sends RIS.  However,
RIS wasn't clearing modifyOtherKeys, so it didn't help. This commit
fixes RIS to reset that state, and a sweep for the same kind of
omission turned up missing resets for left/right margin mode and bidi
overrides, which it now resets too. This brings RIS in line with the
state a soft reset (DECSTR) already clears.
2026-08-12 07:01:21 +01:00
Benoit de Chezelles e723cf5005 docs: fix typo 👀 2026-08-10 04:35:11 +02:00
Benoit de Chezelles ad5abbaf21 docs(internal): Add README for wezterm-dynamic 2026-08-10 02:37:04 +02:00
Benoit de Chezelles 4b1c3c151e termwiz: Add Action::ClearLine for LineEditor (#8014) 2026-08-05 10:40:32 +02:00
xtqqczze 21ad43049b filedescriptor: Add into_stdio conversion (#7789) 2026-08-05 10:12:36 +02:00
Benoit de Chezelles 26270fd8d4 termwiz(lineedit): Add Ctrl-u for Kill to StartOfLine
Similar Clrt-k was already implemented, so adding Ctrl-u feels like a
logical addition.
2026-08-05 06:34:07 +01:00
Benoit de Chezelles 6d97010c40 fix rust fmt 2026-08-05 04:28:06 +02:00
Benoit de Chezelles 63061d7797 overlay(debug,prompt): Rewrite resolve_action to be more extensible 2026-08-05 03:59:22 +02:00
John Xu 1af8f19b56 termwiz-pane: handle IME committed text in prompt overlays (#7556) 2026-08-05 02:38:07 +02:00
Jesse Portnoy b16aa977e3 docs: fix typos (#8008) 2026-08-04 16:07:57 +02:00
Benoit de Chezelles 41e56c899d nix: make flatpak tooling available in dev shell for linux only 2026-08-04 15:32:39 +02:00
Benoit de Chezelles 2bd22e73f7 tmuxcc: fix typo in command for send-keys, use LF instead of CR at eol
refs: #8001
2026-08-04 14:03:24 +02:00
Wez Furlong a48710522b ci: revert to simpler approach, which also enables signing 2026-08-04 12:06:17 +01:00
wezterm-bot[bot] 9cd957c74b deps: update Cargo.lock via cooldown 2026-08-04 11:55:44 +01:00
Wez Furlong d1b7c0c90a ci: try to have cooldown use verified commits 2026-08-04 08:53:33 +01:00
Wez Furlong 2326b21dc8 ci: have the cooldown commits show as authored by the bot identity 2026-08-04 08:44:55 +01:00
Wez Furlong 51f32073e1 ci: add automation for doing cooldown based dep updates 2026-08-04 08:32:01 +01:00
Benoit de Chezelles 4af230bc01 deps: bump serde_with to 3.x to fix GHSA-7gcf-g7xr-8hxj security issue
Cargo cooldown change report:
```
    Removing base64 v0.13.1
     Keeping base64 0.22.1
      Adding bs58 v0.5.1
    Updating darling v0.20.11 -> v0.23.0 (latest: v0.20.11)
    Updating darling_core v0.20.11 -> v0.23.0 (latest: v0.20.11)
    Updating darling_macro v0.20.11 -> v0.23.0 (latest: v0.20.11)
      Adding dyn-clone v1.0.20
      Adding ref-cast v1.0.26
      Adding ref-cast-impl v1.0.26
      Adding schemars v0.9.0
      Adding schemars v1.2.2
    Updating serde_with v2.3.3 -> v3.21.0 (latest: v2.3.3)
    Updating serde_with_macros v2.3.3 -> v3.21.0 (latest: v2.3.3)
```
2026-08-04 08:35:27 +02:00
Benoit de Chezelles ec1bf1fbbf deps: bump all deps using cargo-cooldown
Change report:
```
    Updating anyhow v1.0.102 -> v1.0.104
    Updating arrayvec v0.7.6 -> v0.7.8
    Updating async-trait v0.1.89 -> v0.1.91
    Removing base64 v0.21.7
     Keeping base64 0.13.1
     Keeping base64 0.22.1
    Updating benchmarking v0.4.13 -> v0.4.15
    Removing bitflags v2.11.1
      Adding bitflags v2.13.1
     Keeping bitflags 1.3.2
    Updating bstr v1.12.1 -> v1.13.0
    Updating bytemuck v1.25.0 -> v1.25.2
    Updating bytemuck_derive v1.10.2 -> v1.11.0
    Updating bytes v1.11.1 -> v1.12.1
    Updating camino v1.2.2 -> v1.2.4 (latest: v1.2.5)
    Updating cc v1.2.63 -> v1.3.0 (latest: v1.4.0)
    Updating cfg_aliases v0.2.1 -> v0.2.2
    Updating chacha20 v0.10.0 -> v0.10.1
    Updating chrono v0.4.44 -> v0.4.45
    Updating clap v4.6.1 -> v4.6.2 (latest: v4.6.5)
    Updating clap_builder v4.6.0 -> v4.6.2 (latest: v4.6.5)
    Updating clap_complete v4.6.5 -> v4.6.7 (latest: v4.6.8)
     Keeping clap_derive 4.6.1 (latest: v4.6.4)
    Updating crossbeam-channel v0.5.15 -> v0.5.16
    Updating crossbeam-deque v0.8.6 -> v0.8.7
    Updating crossbeam-epoch v0.9.18 -> v0.9.20
    Updating crossbeam-queue v0.3.12 -> v0.3.13
    Updating crossbeam-utils v0.8.21 -> v0.8.22
      Adding defmt v1.1.1
      Adding defmt-macros v1.1.1
      Adding defmt-parser v1.0.0
     Keeping displaydoc 0.2.6 (latest: v0.2.7)
     Keeping either 1.16.0 (latest: v1.17.0)
    Updating env_filter v1.0.1 -> v2.0.0
    Removing env_logger v0.11.10
      Adding env_logger v0.11.11
     Keeping env_logger 0.10.2
     Keeping event-listener 5.4.1 (latest: v5.4.2)
    Updating exr v1.74.0 -> v1.74.2
    Updating fastrand v2.4.1 -> v2.5.0
     Keeping foreign-types-macros 0.2.3 (latest: v0.2.4)
    Updating futures v0.3.32 -> v0.3.33
    Updating futures-channel v0.3.32 -> v0.3.33
    Updating futures-core v0.3.32 -> v0.3.33
    Updating futures-executor v0.3.32 -> v0.3.33
    Updating futures-io v0.3.32 -> v0.3.33
    Updating futures-macro v0.3.32 -> v0.3.33
    Updating futures-sink v0.3.32 -> v0.3.33
    Updating futures-task v0.3.32 -> v0.3.33
    Updating futures-util v0.3.32 -> v0.3.33
    Removing getrandom v0.4.2
      Adding getrandom v0.4.3
     Keeping getrandom 0.2.17
     Keeping getrandom 0.3.4
     Keeping glob 0.3.3 (latest: v0.3.4)
    Updating globset v0.4.18 -> v0.4.19
    Updating gpu-alloc v0.6.0 -> v0.6.2
    Updating gpu-alloc-types v0.3.0 -> v0.3.1
    Updating h2 v0.4.14 -> v0.4.15
    Updating hdrhistogram v7.5.4 -> v7.6.0
    Updating http v1.4.1 -> v1.4.2 (latest: v1.5.0)
    Updating http-body v1.0.1 -> v1.1.0
    Updating http-body-util v0.1.3 -> v0.1.4
    Updating humantime v2.3.0 -> v2.4.0
     Keeping hyper 1.10.1 (latest: v1.11.0)
    Removing id-arena v2.3.0
    Updating ignore v0.4.25 -> v0.4.30 (latest: v0.4.31)
    Updating imgref v1.12.1 -> v1.12.2
    Updating inotify-sys v0.1.5 -> v0.1.8
     Keeping ipnet 2.12.0 (latest: v2.12.1)
    Updating jiff v0.2.28 -> v0.2.34 (latest: v0.2.35)
      Adding jiff-core v0.1.0
    Updating jiff-static v0.2.28 -> v0.2.34 (latest: v0.2.35)
    Updating jobserver v0.1.34 -> v0.1.35
    Updating js-sys v0.3.99 -> v0.3.103
    Updating kqueue v1.1.1 -> v1.2.0
    Updating leb128 v0.2.6 -> v0.2.7
    Removing leb128fmt v0.1.0
     Keeping libc 0.2.186 (latest: v0.2.189)
     Keeping libflate 2.3.0 (latest: v2.3.1)
    Updating libfuzzer-sys v0.4.12 -> v0.4.13
     Keeping libgit2-sys 0.18.5+1.9.4 (latest: v0.18.7+1.9.6)
    Updating libredox v0.1.17 -> v0.1.18 (latest: v0.1.19)
    Updating libssh2-sys v0.3.1 -> v0.3.2
    Updating libz-sys v1.1.28 -> v1.1.29
    Updating log v0.4.30 -> v0.4.33
    Updating memchr v2.8.1 -> v2.8.3
    Removing memmap2 v0.9.10
      Adding memmap2 v0.9.11
     Keeping memmap2 0.8.0
    Removing mio v1.2.1
      Adding mio v1.2.2
     Keeping mio 0.8.11
    Updating num-bigint v0.4.6 -> v0.4.8
    Updating num-iter v0.1.45 -> v0.1.46
    Updating openssl v0.10.80 -> v0.10.81
    Updating openssl-src v300.6.0+3.6.2 -> v300.6.1+3.6.3
    Updating openssl-sys v0.9.116 -> v0.9.117
    Updating pest v2.8.6 -> v2.8.7 (latest: v2.8.8)
    Updating pest_derive v2.8.6 -> v2.8.7 (latest: v2.8.8)
    Updating pest_generator v2.8.6 -> v2.8.7 (latest: v2.8.8)
    Updating pest_meta v2.8.6 -> v2.8.7 (latest: v2.8.8)
    Updating portable-atomic v1.13.1 -> v1.14.0
    Removing prettyplease v0.2.37
    Updating proc-macro2 v1.0.106 -> v1.0.107
      Adding pulp v0.22.3
      Adding pulp-wasm-simd-flag v0.1.1
    Updating pxfm v0.1.29 -> v0.1.30
    Updating quote v1.0.45 -> v1.0.47
    Removing rand v0.8.6
    Removing rand v0.9.4
    Removing rand v0.10.1
      Adding rand v0.8.7
      Adding rand v0.9.5
      Adding rand v0.10.2
      Adding raw-cpuid v11.6.0
      Adding reborrow v0.5.5
    Removing redox_syscall v0.8.0
      Adding redox_syscall v0.9.0
     Keeping redox_syscall 0.5.18
    Updating regex v1.12.3 -> v1.13.1
    Updating regex-automata v0.4.14 -> v0.4.16
    Updating regex-syntax v0.8.10 -> v0.8.11
    Updating rustc-demangle v0.1.27 -> v0.1.28
    Removing rustc-hash v2.1.2
      Adding rustc-hash v2.1.3
     Keeping rustc-hash 1.1.0
    Updating rustls v0.23.40 -> v0.23.42 (latest: v0.23.43)
    Updating rustls-pki-types v1.14.1 -> v1.15.0 (latest: v1.15.1)
    Updating rustversion v1.0.22 -> v1.0.23
    Updating serde v1.0.228 -> v1.0.229
    Updating serde_core v1.0.228 -> v1.0.229
    Updating serde_derive v1.0.228 -> v1.0.229
     Keeping serde_json 1.0.150 (latest: v1.0.151)
    Updating serde_repr v0.1.20 -> v0.1.21
     Keeping serial2 0.2.37 (latest: v0.2.38)
    Updating sha1 v0.10.6 -> v0.10.7
    Updating simd-adler32 v0.3.9 -> v0.3.10
    Updating smallvec v1.15.1 -> v1.15.2
    Updating smawk v0.3.2 -> v0.3.3
    Removing socket2 v0.6.4
      Adding socket2 v0.6.5
     Keeping socket2 0.5.10
    Updating spin v0.9.8 -> v0.9.9
    Updating ssh2 v0.9.5 -> v0.9.6
    Removing syn v2.0.117
      Adding syn v2.0.119
      Adding syn v3.0.1
     Keeping syn 1.0.109
    Removing thiserror v2.0.18
      Adding thiserror v2.0.19
     Keeping thiserror 1.0.69
    Removing thiserror-impl v2.0.18
      Adding thiserror-impl v2.0.19
     Keeping thiserror-impl 1.0.69
    Updating time v0.3.47 -> v0.3.53 (latest: v0.3.55)
    Updating time-core v0.1.8 -> v0.1.9
    Updating time-macros v0.2.27 -> v0.2.31 (latest: v0.2.32)
    Updating tinyvec v1.11.0 -> v1.12.0
    Updating tokio v1.52.3 -> v1.53.0 (latest: v1.53.1)
    Updating tokio-macros v2.7.0 -> v2.7.1 (latest: v2.7.2)
     Keeping tokio-util 0.7.18 (latest: v0.7.19)
    Removing toml_edit v0.25.12+spec-1.1.0
      Adding toml_edit v0.25.13+spec-1.1.0
     Keeping toml_edit 0.22.27
     Keeping toml_parser 1.1.2+spec-1.1.0 (latest: v1.1.3+spec-1.1.0)
    Updating unicode-segmentation v1.13.2 -> v1.13.3
    Removing unicode-xid v0.2.6
    Updating uuid v1.23.2 -> v1.24.0
    Updating wasip2 v1.0.3+wasi-0.2.9 -> v1.0.4+wasi-0.2.12
    Removing wasip3 v0.4.0+wasi-0.3.0-rc-2026-01-06
    Updating wasm-bindgen v0.2.122 -> v0.2.126
    Updating wasm-bindgen-futures v0.4.72 -> v0.4.76
    Updating wasm-bindgen-macro v0.2.122 -> v0.2.126
    Updating wasm-bindgen-macro-support v0.2.122 -> v0.2.126
    Updating wasm-bindgen-shared v0.2.122 -> v0.2.126
    Removing wasm-encoder v0.244.0
    Removing wasm-metadata v0.244.0
    Removing wasmparser v0.244.0
     Keeping wayland-backend 0.3.15 (latest: v0.3.16)
     Keeping wayland-client 0.31.14 (latest: v0.31.15)
    Updating wayland-protocols v0.32.12 -> v0.32.13
     Keeping wayland-scanner 0.31.10 (latest: v0.31.11)
    Updating web-sys v0.3.99 -> v0.3.103
    Removing winnow v1.0.3
      Adding winnow v1.0.4
     Keeping winnow 0.7.15
    Removing wit-bindgen v0.51.0
     Keeping wit-bindgen 0.57.1
    Removing wit-bindgen-core v0.51.0
    Removing wit-bindgen-rust v0.51.0
    Removing wit-bindgen-rust-macro v0.51.0
    Removing wit-component v0.244.0
    Removing wit-parser v0.244.0
     Keeping xcursor 0.3.10 (latest: v0.3.11)
    Updating yoke v0.8.2 -> v0.8.3
    Updating zerocopy v0.8.50 -> v0.8.54 (latest: v0.8.55)
    Updating zerocopy-derive v0.8.50 -> v0.8.54 (latest: v0.8.55)
    Updating zeroize v1.8.2 -> v1.9.0
    Updating zmij v1.0.21 -> v1.0.23
```

openssl deprecation is confirmed: https://github.com/rust-openssl/rust-openssl/pull/2652
2026-08-04 08:35:27 +02:00
Benoit de Chezelles 6f8b1d41b2 ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS) 2026-08-03 05:46:20 +02:00
Benoit de Chezelles cce7d7a000 nix(vm): Add base fonts, to try ensure baseline good font selection 2026-08-03 04:36:30 +02:00
JoelandDiego Dassie b65d09d212 fix(wayland): disable titlebar when TITLE decos not requested (#7601)
* fix: explicitly request no decorations in xdg calls
* wayland: Only disable decoration when TITLE decoration not requested
  Copied from 5ebe5f7db3779e071 by @ddss-kalpa

---------

Co-authored-by: Diego Dassie <diego.dassie@kalpa.it>
2026-08-03 04:10:42 +02:00
Benoit de Chezelles 92cd0e0863 ci: use newer ubuntu26 target for flatpak/linuxbrew/appimage packaging 2026-08-03 00:58:04 +02:00
Benoit de Chezelles db4652c935 ci: Add ubuntu:26.04 target 2026-08-03 00:58:04 +02:00
Benoit de Chezelles fa0a1da0f9 flatpak: bump runtime to 25.08
Previous 23.08 runtime has been EOL for a while and some flatpak app
stores even discourage use of apps without outadated runtimes.

refs: #7767 flathub/org.wezfurlong.wezterm#19
2026-08-02 17:43:40 +02:00
Benoit de Chezelles f232de08a8 Unify & document flatpak distribution workflow (for local/release) 2026-08-02 17:41:28 +02:00
Benoit de Chezelles d69264df66 docs: changelog for #7385 2026-07-31 08:32:16 +02:00
Calle Helmertz 9554bdd04d feat: smart case search (#7385)
Add "smart-case" into the cycling of already existing search modes.

Fixes #6018
2026-07-31 08:32:02 +02:00
Hagai Gold 46a166d6dc Update SshDomain.md (#7988)
identity file should be the private key
2026-07-29 11:52:29 +02:00
tianrkingandtianrking 76b606ec59 Guard shell integration against unset ZSH_NAME (#7942)
Co-authored-by: tianrking <tianrking@users.noreply.github.com>
2026-07-16 19:55:52 +02:00
Benoit de Chezelles 2ef4bef4ac wayland: Update blur surface on window resize (#7939)
ref: #7937
2026-07-16 10:25:32 +02:00
Dylan Ullrich 1578017a2c nix: fix flake headless package eval error (#7934)
- `cargoLock` is not available in `finalAttrs`, so the headless variant will
 fail to evaluate with "error: attribute 'cargoLock' missing."

- `buildRustPackage` lists `cargoLock` in `excludeDrvArgNames`, so
 `cargoLock` is stripped before `mkDerivation`:

https://github.com/NixOS/nixpkgs/blob/3b32825de172d0bc85664f495edb096b10862524/pkgs/build-support/rust/build-rust-package/default.nix#L34-L37

Solution:
Inherit `cargoDeps` instead, which is available through `finalAttrs`.
2026-07-15 23:50:14 +02:00
Wez Furlong 3658b656ad screen_line.rs: fix warning
I know, this is a bit crappy.  This variable is intended to help
with logical/physical mapping for RTL text.  It is calculated
but not used.

Ideally we'd just delete this code, but this particular bit
of logic is thorny enough that I want to preserve it for
when someone does sit down to finish this bit.
2026-07-15 17:41:04 +01:00