Commit Graph
8709 Commits
Author SHA1 Message Date
Tobias Oetiker d8563fa028 x11: assert selection ownership with CURRENT_TIME
update_selection_owner asserted ownership using self.copy_and_paste.time
That field only advances on key and button events delivered to that
particular window, so a window the user has not touched recently carries
a timestamp that predates the selection's lastTimeChanged.
The X server ignores SetSelectionOwner in that case, so the assertion was
previously dropped.

Use X's CURRENT_TIME constant instead which is always accepted.
This mirrors what focus() already does for the same underlying reason.

refs: #5917
2026-09-15 13:29:32 +02:00
xtqqczze 699fd77b44 fix: gate windows-sys dependency (#8159)
refs: #8107
2026-09-14 16:14:09 +02:00
ZhongYu Li 2afb836403 termwiz: add ClearLine change (#8124) 2026-09-12 13:38:23 +02:00
xtqqczze f6f0727893 deps: upgrade thiserror to 2.0 (#7973) 2026-09-12 10:57:23 +02:00
Amos Wenger c8c592d192 pty: Fix typo psuedo => pseudo (#7178) 2026-09-12 10:55:12 +02:00
Huy PhungandBenoit de Chezelles 2b56c4688f tabbar: impl proper bottom fancy tabs design (#8018)
---------
Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-09-11 02:39:05 +02:00
9fa147c953 term: Add TerminalState accessors for downstream users (#8045)
Add mouse and focus accessors to TerminalState so downstream programs
using wezterm-term crate can introspect the state and act in it.


---------

Co-authored-by: Mark Shamis <mark.shamis@gmail.com>
Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-09-09 08:15:06 +02:00
xtqqczze d2f3f05b38 fix: mismatched_lifetime_syntaxes lint 2026-09-06 10:19:27 +02:00
xtqqczze ee433989d8 fix: unused_imports lint 2026-09-06 10:19:27 +02:00
xtqqczze 24d4cbc4b1 fix: unused_unsafe lint 2026-09-06 10:19:27 +02:00
xtqqczze b99b1ca2cc lint: fix mismatched_lifetime_syntaxes lint (#8091) 2026-09-05 19:53:14 +02:00
xtqqczze 86d223ec87 wezterm-escape-parser: fix Rust aliasing violation (#8129)
Avoid creating a `&[u8]` reference over Windows _shared_ memory.
Instead, copy the mapped data directly with `ptr::copy_nonoverlapping`,
preventing aliasing violations.

refs: #8051
2026-09-05 18:07:23 +02:00
Mateusz Mikuła 0f4b5596a5 wezterm-dynamic: Remove deprecated macro_use 2026-09-05 17:54:22 +02:00
Mateusz Mikuła 8d668a78c9 wezterm-escape-parser: Remove deprecated macro_use 2026-09-05 17:54:22 +02:00
Mateusz Mikuła f31a654dc1 luahelper: Remove deprecated macro_use 2026-09-05 17:54:22 +02:00
xtqqczze 092dcf70d8 style: Add newline after inner attribute for readability (#8130)
Add a newline after inner attributes to make it clear that the
attribute applies to the enclosing item rather than the following item.
2026-09-05 15:31:29 +02:00
xtqqczze e019f1b11e fixup! wezterm-escape-parser: Replace winapi with windows-sys (#8107) (#8132) 2026-09-05 05:50:13 +02:00
xtqqczze d4f5c4878a wezterm-escape-parser: Replace winapi with windows-sys (#8107)
part of #7797
2026-09-04 14:35:31 +02:00
xtqqczze 4fbd6b8e90 termwiz: Replace winapi with windows-sys (#8099) 2026-09-01 00:28:20 +02:00
SED4906 08e5e0afc6 cicd: Update copr spec for Fedora 45 and Rawhide (#8114)
Fedora 45 removed openssl-devel-engine

ref: https://openssl-library.org/post/2025-12-18-remove-engines/
2026-08-29 19:42:57 +02:00
Benoit de Chezelles 5140f9893c misc: fmt.. 2026-08-29 16:21:55 +02:00
Huy PhungandBenoit de Chezelles ae46d3a0bb fonts: Improve weight defaults: normal→dim/bold is more visible (#8097)
refs: #8049 (with examples)

---------
Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-08-29 16:16:36 +02:00
Vaibhav Srivastava 135baeab0f docs: fix typo dependecies -> dependencies (#8113)
Signed-off-by: Vaibhav Srivastava <vaibhavsri1712@gmail.com>
2026-08-29 14:33:08 +02:00
Benoit de Chezelles 27d55bef14 window: Mention how set_cursor(None) hides the cursor 2026-08-28 10:17:55 +02:00
Benoit de Chezelles 17d9fe1f1e mux: Rename+doc Window functions for better readability 2026-08-28 10:12:57 +02:00
NSPC911 08e50ca2cd window: Replace MouseCursor with cursor-icon from winit (#8100) 2026-08-27 13:51:50 +02:00
xtqqczze 572f7496e4 deps: upgrade clipboard-win to remove winapi as transitive dep (#8102) 2026-08-27 11:51:46 +02:00
xtqqczze 78cd82dbba config: Replace winapi with windows-sys (#8098) 2026-08-26 11:37:11 +02:00
xtqqczze 70c036a236 wezterm-open-url: Replace winapi with windows-sys (#8101) 2026-08-26 11:36:37 +02:00
xtqqczze 6fecdf5ae1 spawn-funcs: Replace winapi with windows-sys (#8069) 2026-08-26 02:00:45 +02:00
wezterm-bot[bot] f8d241c0ee deps: update Cargo.lock via cooldown (#8090)
Co-authored-by: wezterm-bot[bot] <312868691+wezterm-bot[bot]@users.noreply.github.com>
2026-08-26 01:13:08 +02:00
Rafael Steil 5c09609597 ui: Add command_palette_line_height config option (#8096) 2026-08-26 01:09:24 +02:00
Benoit de Chezelles cdb33d39b1 docs: Add dedicated pages for window_background_{opacity,image{,_hsb}} 2026-08-26 01:01:15 +02:00
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