Commit Graph
8480 Commits
Author SHA1 Message Date
mgpinf 5cab87d42e fix: set raw mode if hold option is set
This is to disable local echo
2025-05-11 09:54:57 -07:00
github-actions[bot] f2ac5c5e4c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d6973081434f88088e5321f83ebafe9a1167c367?narHash=sha256-cuNapx/uQeCgeuhUhdck3JKbgpsml259sjUQnWM7zW8%3D' (2025-01-02)
  → 'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a599f011db521766cbaf7c2f5874182485554f00?narHash=sha256-6Ta5E4mhSfCP6LdkzkG2%2BBciLOCPeLKuYTJ6lOHW%2BmI%3D' (2025-01-03)
  → 'github:oxalica/rust-overlay/c46d2764319f962b20ce9c03ce6644dd0de87bc9?narHash=sha256-cXn1RsYZjS23n0%2BYP3TiH7XBlEvy8FA2mG54MdAL6x0%3D' (2025-05-11)
2025-05-11 09:51:45 -07:00
Wez Furlong f74bb06689 ci: maybe fixup flake workflow 2025-05-11 06:37:31 -07:00
dependabot[bot] b6cfba6ff3 build(deps): bump cachix/cachix-action from 15 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-version: '16'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-11 06:25:21 -07:00
Wez Furlong d80060318a docs: changelog for #6850 #6845 2025-05-11 06:24:18 -07:00
Vincent BesanceneyandWez Furlong 0bb382bf54 fix: honor environment variables and cwd unconditionally for SpawnCommand (#6850)
* fix: honor environment variables and cwd unconditionally for SpawnCommand

The SpawnCommand specifies information about a new command to be spawned.
If the args field is omitted, the default program for the target domain
is spawned. However, this also causes other fields like environment
variables and cwd to be wiped out.

The command builder now behaves consistently for all fields, whether the
args field is set or omitted.

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2025-05-11 06:22:11 -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 408b2016e2 termwiz: fixup win32 build 2025-05-11 05:45:14 -07:00
Wez Furlong 7ee60e2d9b wezterm-escape-parser: fixup win32 build, take 2 2025-05-10 17:58:18 -07:00
Wez Furlong 8025483486 wezterm-escape-parser: fixup build on win32 2025-05-10 15:35:26 -07:00
Wez Furlong 0f342e8894 wezterm-ssh: fixup standalone std build 2025-05-10 15:31:49 -07:00
Wez Furlong 6c7e3722b1 term: normalize imports to wezterm-xxx rather than termwiz re-exports 2025-05-10 15:08:56 -07:00
Wez Furlong 2b15e46421 refactor: extract wezterm-surface from termwiz 2025-05-10 15:07:21 -07:00
Wez Furlong 6740628da5 refactor: extract wezterm-cell from termwiz 2025-05-10 15:07:21 -07:00
Wez Furlong 47b6410f8f accommodate more no_std builds 2025-05-10 15:07:21 -07:00
Wez Furlong bb6534bd4b wezterm-char-props: allow building no_std 2025-05-10 15:07:21 -07:00
Wez Furlong 80de3aa313 refactor: extract wezterm-char-props from termwiz
This new crate holds the unicode character properties
and other similar data on emoji and nerdfonts codepoints.
2025-05-10 15:07:20 -07:00
Wez Furlong 0cd3fe8f97 wezterm-escape-parser: allow building no_std (but with alloc)
This commit makes a number of parts of wezterm's core
parsing functionality no_std compatible, but requiring alloc.

In the no_std environment, several lookup tables that would
normally have been used to accelerate some operations are
not available and we instead fall back to an O(n) operation.
2025-05-10 15:07:20 -07:00
Wez Furlong 304fb40567 switch termwiz over to wezterm-escape-parser 2025-05-10 14:54:05 -07:00
Wez Furlong 5306090f6c extract wezterm-escape-parser into its own crate 2025-05-10 14:54:05 -07:00
Wez Furlong 2d41780bb4 vtparse: improve CsiParam Debug impl
show the byte as a char
2025-05-10 14:53:59 -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 96e91ab78b add colortest script
I thought I had added one of these a long time ago
2025-05-10 08:56:21 -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
DevHegemony 50056b5fbe check that ps1 has not changed before restoring it 2025-05-03 06:51:31 -07:00
Johannes Altmanninger 52c3515037 Advertize the Su capability too
I'm not sure if applications are supposed to use "Smulx" and "Setulc" or
"Su". Among the terminals that implement XTGETTCAP, contour, foot, ghostty
and kitty advertize both (and XTerm neither).

"Su" is the one mentioned in the original documentation
https://sw.kovidgoyal.net/kitty/underlines/

It's a boolean capability but I'd argue that's even better since I don't
think the flexibility of string capabilities is needed.  (Personally, all
I want to use it for is to answer "will this terminal break if I emit the
hardcoded \e[4:3m and \e[58:2::1:2:3m".

Include "Su" in wezterm's terminfo, for the benefit of XTGETTCAP users..
Updated the compiled database with

	tic -x termwiz/data/wezterm.terminfo -o termwiz/data

Alternatively we could change the kitty documentation.
2025-05-03 06:39:43 -07:00
Wez Furlong 5a71e21a79 docs: changelog for #6928 #6929 #6823 2025-05-03 06:38:36 -07:00
juster-0 77d97d4892 fix: aliasing when using Center in window_content_alignment 2025-05-03 06:36:41 -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
avrong 231a2587f7 docs: fix typos in SpawnCommand docs 2025-05-03 06:27:30 -07:00
Wez Furlong d4b50f6cc3 update xcb-imdkit to fix IBus IME issues
refs: https://github.com/wezterm/wezterm/issues/5125
refs: https://github.com/fcitx/xcb-imdkit/issues/16
refs: https://github.com/wezterm/xcb-imdkit-rs/pull/2
2025-05-02 06:59:51 -07:00
Wez Furlong 1439661dc9 docs: changelog for #6194 #5161
closes: #5161
2025-04-24 22:09:48 -07:00
James Dugan 0f1c4a7fa1 Increase CSI param limit to 256 to match Kitty (#6194) 2025-04-24 22:07:37 -07:00
fboundp dae1a54d74 symlink judiciously to make LaunchServices happy
Now that WezTerm uses UNUserNotificationCenter, it needs to have
a proper app bundle. Rather than symlinking from `WezTerm.app/`
to `bin/`, do it the other way around.

Alternatives to symbolic links such as copies, hard links, or clones
also will not work when WezTerm is invoked from the command line
(i.e. as `.../bin/wezterm`).
2025-04-24 08:51:36 -07:00
Wez Furlong 3bfe6df191 bump vtparse version 2025-04-19 07:37:32 -07:00