Commit Graph
2160 Commits
Author SHA1 Message Date
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
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
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
Benoit de Chezelles f93d903500 docs: changelog for #8038 2026-08-23 23:01:48 +02:00
Benoit de Chezelles 770d8e1a75 docs: changelog for #7556, 7601, 7767, 7967, 8001, 8013 2026-08-20 09:51:06 +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
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
Jesse Portnoy b16aa977e3 docs: fix typos (#8008) 2026-08-04 16:07:57 +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
Benoit de Chezelles 2ef4bef4ac wayland: Update blur surface on window resize (#7939)
ref: #7937
2026-07-16 10:25:32 +02:00
Wez Furlong 31c758f1cd tabbar: animate an indeterminate progress spinner
Draws a braille spinner in the tab title when a pane reports
Indeterminate progress, advancing one frame every 100ms.

This only shows when no format-tab-title event is used, and
leverages some of the infra we have for git animation scheduling.
2026-07-15 17:28:30 +01:00
Wez Furlong d96ba57121 docs: fix pages ci workflow
the ../CONTRIBUTING.md link wasn't valid because it escaped
the doc root.

Perhaps we should consolidate CONTRIBUTING.md with docs/contributing.md?
2026-07-14 22:06:16 +01:00
Benoit de Chezelles b32556667f docs: changelog for #7444 & #7928 2026-07-13 21:24:14 +02:00
1Capito1andBenoit de Chezelles 6f3d3d84f2 wayland: Support blur via ext-background-effect-v1 protocol (#7615)
* Add ext-background-effect-v1 support for wayland
* Deprecate `kde_window_background_blur`; use `wayland_window_background_blur`
* Update changelog (replace old kde… option entry with wayland…)

---------

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-07-13 18:57:32 +02:00
tooknox 09e52dd85c docs: add installation steps for Gentoo Linux (#7876) 2026-06-23 21:23:01 +02:00
zakradandBenoit de Chezelles d6e1859782 fix(term): avoid divide-by-zero crashes in inline image placement (#7872)
assign_image_to_cells contained two unguarded divisions that could panic
with 'attempt to divide by zero' and take down the pane (and, under the mux,
the pane's reader thread):

1. A Kitty graphics escape requesting a zero-sized placement (eg: an explicit
   w=0/h=0, or a source origin outside the image bounds) yields a
   draw_width/draw_height of 0, used as a divisor when sizing the image.
   This is the case reported in #6344.

2. Displaying a cell-sized image (one without explicit c=/r=) on a pane whose
   pty reported no pixel dimensions makes cell_pixel_width/height 0, which is
   then used as a divisor. A zero pixel size is the default PtySize and is what
   tmux/headless domains report, so a perfectly valid image crashes there.

Guard both: refuse the placement when the drawable region or the cell pixel
size is zero.
The error flows into the existing logging handlers for the Kitty, iTerm and
Sixel paths, so no callers change.
Real GUI panes always have a non-zero pixel size, so valid images are
unaffected.

Adds regression tests for both cases (each panics on main, passes with the
fix) and enables kitty graphics in the test terminal config (off by default)
so the path is exercised.

Closes #6344

---------

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-06-21 22:45:33 +02:00
Benoit de Chezelles c4b1d89fd3 docs: changelog for #7787 2026-06-20 00:45:09 +02:00
Benoit de Chezelles 65c1c1f17e docs: Update changelog for recent merges 2026-06-17 23:11:51 +02:00
Benoit de Chezelles 988133f533 docs: Improve 'see also' links between QuickSelect & QuickSelectArgs 2026-06-17 23:11:22 +02:00
Benoit de Chezelles 1ec372f179 docs: Fix link to Matrix room to be client agnostic 2026-06-16 09:28:50 +02:00
Leo Heitmann Ruiz 69d1fb3ef0 docs: Update Flathub badge (#7831)
ref: https://flathub.org/en/badges
2026-06-14 19:16:20 +02:00
Tautik Agrahari 891bed31b7 docs: fix linuxbrew install command (#7768) 2026-06-10 15:08:05 +02:00
Benoit de Chezelles 05c5c9cc15 docs: changelog for #7137 & #7710 2026-06-06 15:53:43 +02:00
Wez Furlong 8a8cf6a75f docs: update for build/distro changes 2026-06-06 11:47:17 +01:00
John Taylor 9221506a1a docs: Add Void Linux installation instructions for WezTerm (#7371) 2026-06-04 14:52:17 +02:00
drapeol bd7de12f39 docs: Update rustup install link in source.md (#7811) 2026-06-04 14:36:08 +02:00
Tautik AgrahariandBenoit de Chezelles 297637504a Fix 'the the' typos across doc & code files (#7769)
* docs: fix duplicate-word typos across doc files
* code: fix duplicate 'the the' typos across code files

Co-authored-by: Benoit de Chezelles <benoit.dechezelles@gmail.com>
2026-06-04 14:09:39 +02:00
Matt Dembiczak 760ed023e4 docs: fix typo in quick_select_alphabet.md (#7169) 2026-06-04 13:46:42 +02:00
KevinSilvester 21f656f931 docs: add missing panes field to TabInformation (#7710) 2026-06-04 13:31:13 +02:00
Jeff QuastandWez Furlong 577474d89e Prevent "screen scraping", disable DECRQCRA (#7701)
* Security fix: prevent screen scraping

Problem
-------

DECRQCRA was added in 6cbb3ba43, for 9702d1cf5 (esctest integration) Sunday, March 17 2019.  Six days later, March 23 2019, although esctest was removed in c93f967bc, DECRQCRA remained enabled by default for all WezTerm releases since.

March 2023, @j4james mentioned WezTerm has this option enabled by default https://github.com/microsoft/terminal/issues/14974, "some people consider it a security risk"

September 2023, https://dgl.cx/2023/09/ansi-terminal-security#cursor-checksum article writes, "using DECRQCRA [..] potential attack here is reading what is displayed on the terminal before a user SSHes to a remote system."

By switching to "alternate screen", it also possible to recover last TUI display, such as contents of the file last opened in an editor.

Example CLI script scrapes screens '0' and '1' of WezTerm, https://github.com/jquast/blessed/blob/master/bin/screen-scrape.py

Solution
--------

Disable https://vt100.net/docs/vt510-rm/DECRQCRA.html by default, may be re-enabled by configuration.

---

Refs: https://github.com/wezterm/wezterm/pull/7701

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2026-03-31 04:00:28 -07:00
Wez Furlong 31b1beda3f docs: changelog for #7076 #7504 2026-01-17 15:37:31 +00:00
Wez Furlong 669497f80e docs: changelog for #7483 2026-01-17 15:27:40 +00:00
Anton RyzhovandWez Furlong 6e02c91e6b Fix typo in docs/scrollback.md (#7484)
* Fix typo in `docs/scrollback.md`

* Update docs/scrollback.md

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2026-01-08 23:47:10 -07:00
Spenser Black 4bcb2b32ce Fix copy buttons for BSD installation instructions
The JS that removes the `$` prefix from copied text expects a `console`
code block, but the BSD instructions were using `bash` code blocks. This
switches those code blocks to `console`.
2026-01-07 16:15:48 +00:00
Spenser Black f658879ea1 Fix selector for codblock copy button
The selector used `button.md-clipboard`, but the copy button does not
have this class, causing the selector to fail to match. This switches
that class for the current copy button's class.
2026-01-07 16:15:48 +00:00
Wez Furlong a9a165e46c docs: changelog for #7366 2025-11-11 07:09:15 +00:00
Maxime Poncet b6e75fd7c8 Typo 2025-10-25 07:03:38 +01:00
Maxime Poncet f16e23abd0 Update linux.md with Fedora Atomic installation steps
Add installation instructions for Fedora Atomic Desktops.
2025-10-25 07:03:38 +01:00
Wez Furlong 64f2907c63 docs: changelog for https://github.com/wezterm/wezterm/pull/7283 2025-10-14 19:36:57 +01:00
Wez Furlong 4b3b5ffa16 docs for https://github.com/wezterm/wezterm/pull/7274 2025-10-14 19:36:57 +01:00
Wez Furlong b0093583e7 docs: changelog for #7277 2025-10-05 10:52:56 +01:00
Kenneth Jefferson 6a493f88fa docs: Fix typo in augment-command-palette.md
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
2025-07-30 19:57:51 +01:00
Kenneth Jefferson ac11fcfa41 fix: Corrected bad title in MoveForwardWordEnd.md
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
2025-07-30 19:57:51 +01:00
Wez Furlong d1bdb8a350 ci: debian 10.3 (buster) is no longer available, remove it 2025-07-23 08:21:40 +01:00
Wez Furlong 411590aa1f docs: changelog for #7098 2025-07-23 08:17:29 +01:00