Commit Graph
2126 Commits
Author SHA1 Message Date
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
Wez Furlong 2b656cb5b9 docs: changelog for #7046 2025-06-22 06:47:17 +01:00
Phineas Jensen d6c178f961 Fix disable ligatures snippet 2025-06-15 12:14:31 -07:00
Wez Furlong 5106c8c1f7 docs: add since-nightly to kde_window_background_blur
refs: https://github.com/wezterm/wezterm/pull/6905
2025-06-04 06:01:57 -07:00
Wez Furlong 53da5d463b docs: fmt 2025-06-04 06:01:45 -07:00
Wez Furlong f412c817c6 update harfbuzz to 11.2.1 2025-05-17 06:44:31 -07:00
Wez Furlong ce58db64da docs: add faq entry on how to disable ligatures
closes: https://github.com/wezterm/wezterm/issues/6413
2025-05-17 06:38:52 -07:00
Wez Furlong 909573fad9 ssh: implement ServerAliveInterval for libssh backend
This is a partial implementation of keepalives; it has the good
part (the sending of the packet on the requested interval), but
not the other part (disconnecting if we don't hear anything after
some number of packets).

The reason for not having the latter is that it isn't obvious to me how
to expose whether the channel had more incoming packets since sending
the ignore, so we cannot confidently act to terminate the connection.

refs: https://github.com/wezterm/wezterm/issues/4023
2025-05-14 07:14:22 -07:00
Wez Furlong 475e9f571f docs: changelog for #6895 2025-05-11 22:23:09 -07:00
ad44b159c2 feat(mark-last-tab): append last tab name with '*' (#6895)
* feat(mark-last-tab): append last tab name with '*'

I think there should be a better method instead of make the save function so crowded.
But this works for now similar to `tmux` windows. But, `tmux` is using '*' for current and '-' for last
Hardcoded '*'

* Revert "feat(mark-last-tab): append last tab name with '*'"

This reverts commit 6f11c16dd9b034977088820fbc86a4456df9d513.

* feat(tab): add is_last to indicate previous active tab - last tab.

Add usage example to format-tab-title.md
Add docs to TabInformation.md

Couldn't add tests, perhapse can you guide on adding test for this?

* Update docs/config/lua/TabInformation.md

renaming as suggested.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update wezterm-gui/src/termwindow/mod.rs

renaming as suggested.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update docs/config/lua/window-events/format-tab-title.md

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* refactor: rename `TabInformation` attribute to `is_last_active`

---------

Co-authored-by: Omar Elmasri <omarmasri@duck.com>
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-11 22:20:21 -07:00
Wez Furlong a841a72cf2 docs: changelog for #6796 2025-05-11 10:01:17 -07:00
mgpinf 9b2350f292 docs: add Launcher label bg, fg to Colors & Appearance 2025-05-11 09:59:01 -07:00
Wez Furlong 573bc4ac06 docs: changelog for #6801 2025-05-11 09:56:35 -07:00
mgpinf 65dbbe87e8 docs: update description for hold option
Update description for hold option in cmd-synopsis-wezterm-imgcat--help.txt
2025-05-11 09:54:57 -07:00
Wez Furlong d80060318a docs: changelog for #6850 #6845 2025-05-11 06:24:18 -07:00
Kevin Ernst 7f52f05580 Add font and window geometry settings to "Quick Start" example config (#6412)
* Add initial rows/cols to config quick start
* Add 'docs' target to Makefile
2025-05-11 06:06:10 -07:00
Wez Furlong 4a210168e1 add new text_min_contrast_ratio option
This can help improve readability by forcing the foreground
color luminance to adjust to increase the contrast ratio to
the specified value.
2025-05-10 09:29:08 -07:00
Wez Furlong bc3dde9e75 docs: changelog for #6584 2025-05-09 10:04:05 -07:00
James HurstandWez Furlong af8d521ef6 feat: enforce minimum contrast ratio for reverse video cursor (#6584)
* feat: enforce minimum contrast ratio for reverse video cursor

* feat: add reverse_video_cursor_min_contrast to config

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-09 09:54:39 -07:00
Wez Furlong dd3caaae34 docs: changelog for #6905 2025-05-04 06:31:33 -07:00
parthandWez Furlong 4d6b83585f feat: Added support for window blur on KDE Wayland (#6905)
* added config flag for kde blur

* added deps for wayland-protocol-plasma

* added kde background blur

* keeping inner functions together

* updated docs with kde_blur

* added kde_blur ss to docs

* removed unneeded dep

* removed redundant default value for bool

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* updated default for kde_blur in config

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update docs/config/lua/config/kde_window_background_blur.md

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* Update blur logic in os/wayland/window.rs

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* simplified blur_manager creation in wayland/state.rs

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* removed unnecessary panic paths

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* removed unnecessary panic path

Co-authored-by: Wez Furlong <wez@wezfurlong.org>

* put the right screenshot for kde_blur

* fixed build issues

* reverted window/src/os/windows/window.rs

* fixed formatting

* Update window/src/os/windows/window.rs

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-04 06:29:27 -07:00
JanandWez Furlong 474ad16eb6 Update linux.md (#5872)
Add command to set correct permission for `/usr/share/keyrings/wezterm-fury.gpg`

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-03 07:04:28 -07:00
Wez Furlong bd094e8fab docs: format examples 2025-05-03 06:59:43 -07:00
Wez Furlong a077a62fb9 docs: changelog for #6289 #6290 2025-05-03 06:58:10 -07:00
HAMANO TsukasaandWez Furlong 8ec1f2451c add cell_widths option #6289
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-03 06:56:33 -07:00
Wez Furlong 5a71e21a79 docs: changelog for #6928 #6929 #6823 2025-05-03 06:38:36 -07:00
Norm eeb1cf0707 FAQ docs for MacOS PATH note 2025-05-03 06:36:00 -07:00
Manuel Sanchez Pinarandgitworkflows 942868e9e8 Update docs/recipes/hyperlinks.md
Co-authored-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
2025-05-03 06:33:33 -07:00
Manuel Sanchez Pinarandgitworkflows 608d42eff8 Update docs/recipes/hyperlinks.md
Co-authored-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
2025-05-03 06:33:33 -07:00
Manuel Sanchez Pinarandgitworkflows d724cd3632 Update docs/recipes/hyperlinks.md
Co-authored-by: gitworkflows <118260833+gitworkflows@users.noreply.github.com>
2025-05-03 06:33:33 -07:00
Manuel Sanchez Pinar 3dc080a6e0 docs: hyperlinks: integration example 2025-05-03 06:33:33 -07:00
koh-sh d62792e96d docs: fix typo in plugins.md 2025-05-03 06:30:09 -07:00
Benoit de Chezelles 9b2937b214 docs: Mention Nix install requires Git to be available 2025-05-03 06:29:42 -07:00
MatejKastak d0a0208df3 docs: Fix broken link in to_string.md 2025-05-03 06:28:35 -07:00
Ian Chamberlain a9cd8abc1e docs: fix title of get_progress() page 2025-05-03 06:27:52 -07:00