Commit Graph
8452 Commits
Author SHA1 Message Date
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
Wez Furlong c024130276 vtparse: add alloc feature
This allows building no_std but with alloc, if desired.
2025-04-18 10:17:01 -07:00
Wez Furlong 3463d5d81b ci: cache api was biffed 2025-04-18 09:32:02 -07:00
Wez Furlong f06d6fc04f docs: changelog for #6328 #6873 #6875 2025-04-15 05:23:44 -07:00
Wez Furlong ade88725b0 ci/build-docs.sh: also support running under podman
Need to use regular port forwarding, rather than host networking,
for this to work for me on macos for whatever reason.
2025-04-15 05:22:39 -07:00
Benjamin Bergman e587f878bd Fix code style issues with cmp and BlendMode default 2025-04-15 05:02:01 -07:00
Benjamin Bergman 72d93c09db Fix spinner rendering glitch at certain font sizes 2025-04-15 05:02:01 -07:00
Benjamin Bergman 18049faf61 Add spinner glyphs 2025-04-15 05:02:01 -07:00
Benjamin Bergman 275833e21c Add new graph branch glyphs 2025-04-15 05:02:01 -07:00
Benjamin Bergman 2edbb81d29 Add progress bar glyphs 2025-04-14 18:31:45 -07:00
Wez Furlong d2df5b755f docs: changelog for #6860 #6868 2025-04-13 06:54:14 -07:00
Wojciech Graj e7d0424cb3 Parse all permutations of optional parameters for CSI P s ; P s X. 2025-04-13 06:52:16 -07:00
Wez Furlong 289c5f548f cargo update 2025-04-12 22:07:20 -07:00
Wez Furlong 736f73f153 vtparse: allow building in no_std environments 2025-04-12 22:06:14 -07:00
Jun Wu 50ea8c3811 termwiz: lazy_static => std::sync::LazyLock
`LazyLock` is a stdlib drop-in replacement to drop the lazy_static
dependency.
2025-04-12 22:05:40 -07:00
Jun Wu 33b40fe629 termwiz: make tmux control code optional with a Cargo feature
The tmux control code support depends on `pest`, which might be a
dependency that some projects won't need. This change makes it
optional with a Cargo feature. It's default on to maintain compatibility.
2025-04-12 22:05:40 -07:00
Jun Wu b4261af93e termwiz: make image support optional with a Cargo feature
The `image` module introduces some extra dependencies that seem a bit
heavyweight. This change adds an `image` Cargo feature to make related
features optional.

    ├── sha2 v0.10.8
    │   ├── cfg-if v1.0.0
    │   ├── cpufeatures v0.2.17
    │   └── digest v0.10.7
    │       ├── block-buffer v0.10.4
    │       │   └── generic-array v0.14.7
    │       │       └── typenum v1.18.0
    │       └── crypto-common v0.1.6
    │           ├── generic-array v0.14.7 (*)
    │           └── typenum v1.18.0
    └── wezterm-blob-leases v0.1.1
        ├── getrandom v0.3.1
        │   ├── cfg-if v1.0.0
        │   └── libc v0.2.170
        ├── mac_address v1.1.8
        │   └── nix v0.29.0 (*)
        ├── sha2 v0.10.8 (*)
        ├── thiserror v1.0.69 (*)
        └── uuid v1.15.1
            ├── atomic v0.6.0
            │   └── bytemuck v1.22.0
            └── getrandom v0.3.1 (*)

The `image` feature is default on to maintain compatibility.

Test Plan:

    cargo check --no-default-features
    cargo check
2025-04-12 22:05:40 -07:00
Wez Furlong a873585160 update lock file 2025-03-20 07:21:07 -07:00
Wez Furlong ddd60384f3 update changelog 2025-03-20 07:20:19 -07:00
Wez Furlong 4bf28e253c deps: set workspace pest dep to 2.7
This is the same version that is captured in the lock file,
but that lock file doesn't get propagated through to eg: termwiz
when published on crates.io.

Let's be explicit that we need this version because 2.1 doesn't
compile the `continue` token in our pest file:

https://github.com/wezterm/wezterm/pull/6810#issuecomment-2739610838
2025-03-20 07:18:53 -07:00
Wez Furlong d0ff5cb892 termwiz: update changelog 2025-03-19 07:27:28 -07:00
Wez Furlong 994c0a39b6 add Cargo.lock 2025-03-19 07:24:24 -07:00
Wez Furlong 8b7ca454b5 termwiz: bump version 2025-03-19 07:23:49 -07:00
Zeev Rotshtein eb9f8604e1 fix: deal with Windows Terminal mouse move with no buttons SGR report 2025-03-19 07:14:06 -07:00
mgpinf 7053748e4d refactor: remove redundant character checks in Launcher, InputSelector
We don't need to check if the alphabet includes 'j', 'k' because if a
character is included in the alphabet, the code corresponding to the
first arm is executed
2025-03-17 06:29:59 -07:00
Wez Furlong 12b971ac44 docs: changelog for #6696 2025-03-09 15:37:01 -07:00
mgpinf 9606fa2569 Add font configuration option for ActivateCommandPalette, CharSelect, PaneSelect (#6696)
* feat: option to configure font for ActivateCommandPalette, CharSelect, PaneSelect

Add configuration option for font for the below entities:
- ActivateCommandPalette
- CharSelect
- PaneSelect

For the above entities, if the font is not set in configuration, it
defaults to the font resolved in config.window_frame.font. This is in
order to maintain existing behavior of using the font resolved in
config.window_frame.font

* docs: documentation for added configuration options

Add documentation for below configuration options:
- command_palette_font
- char_select_font
- pane_select_font

* refactor: rename EntityFont to Entity

* docs: add example configuration in char_select_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* docs: add example configuration in pane_select_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* docs: add example configuration in command_palette_font

Apply changes mentioned in suggestion:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085165

* refactor: calculate make_bold in make_entity_font_impl method

* refactor: resolve font_size based on Entity

Since we can fetch font_size based on entity, we resolve it in
'make_entity_font_impl'. This removes the need to pass the pref_size
parameter

Apply changes mentioned in suggestions:
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085350
https://github.com/wezterm/wezterm/pull/6696#discussion_r1986085949
2025-03-09 15:34:32 -07:00
Wez Furlong 46cfda6665 shapecache: fixup for noto font update 2025-03-09 07:37:51 -07:00
Wez Furlong 824df44296 update bundled Noto Color Emoji
This version (2.047) has unicode 16 support.

Source file is https://github.com/googlefonts/noto-emoji/blob/main/fonts/Noto-COLRv1.ttf
2025-03-09 07:00:38 -07:00