147 Commits
Author SHA1 Message Date
Xander Soldaat 0c655c1e87 macos: declare NSAudioCaptureUsageDescription for hosted tools (#8389)
Programs launched from WezTerm use it as the responsible app.
Without this
usage string, macOS never prompts for
System Audio Recording and Core Audio
taps stay silent.
2026-11-25 10:30:59 +01:00
Phil Gore 2658f629cd macos: fix dictation support, with new configs for preview text (#7453)
closes: #4592 & #5180
2026-09-15 13:51:23 +02:00
Benoit de Chezelles 6f8b1d41b2 ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS) 2026-08-03 05:46:20 +02:00
Benoit de Chezelles fa0a1da0f9 flatpak: bump runtime to 25.08
Previous 23.08 runtime has been EOL for a while and some flatpak app
stores even discourage use of apps without outadated runtimes.

refs: #7767 flathub/org.wezfurlong.wezterm#19
2026-08-02 17:43:40 +02:00
Benoit de Chezelles f232de08a8 Unify & document flatpak distribution workflow (for local/release) 2026-08-02 17:41:28 +02:00
tianrkingandtianrking 76b606ec59 Guard shell integration against unset ZSH_NAME (#7942)
Co-authored-by: tianrking <tianrking@users.noreply.github.com>
2026-07-16 19:55:52 +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
mgpinf 659f9900d2 chore: update shell completion descriptions for imgcat --hold option
Update shell completion descriptions for imgcat --hold option for below
shells:
* zsh
* fish
2025-05-11 09:54:57 -07:00
DevHegemony 50056b5fbe check that ps1 has not changed before restoring it 2025-05-03 06:51:31 -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
Wez Furlong 874750e34c update nerdfonts to 3.3.0 2025-02-09 20:36:44 -07:00
Koichi Murase dbabb97581 fix: skip FreshLine by semantic integration in ble.sh
ble.sh keeps track of the cursor position in the terminal
display---including the horizontal position relative to the bottom of
the terminal---based on the terminal control sequences that it sends.
However, with WezTerm's shell integration, WezTerm inserts the newline
(FreshLine) in PROMPT_COMMAND, which breaks the cursor position
tracking of ble.sh.  The needed cursor position adjustment at the end
of the command execution is already performed by ble.sh, so WezTerm
does not need to adjust it.  In this patch, we skip the request for
FreshLine.
2025-02-09 13:38:26 -07:00
Wez Furlong 4accc376f3 update bundled conpty build
These are the win10 x64 bits taken from
https://dev.azure.com/shine-oss/terminal/_artifacts/feed/TerminalDependencies/NuGet/Microsoft.Windows.Console.ConPTY/overview/1.22.250204002

thread: https://mas.to/@DHowett/113969428709942718
2025-02-08 16:01:06 -07:00
Kreijstal 364a158b6c Add Fallbacks for Setting WEZTERM_HOST in Non-Systemd and Minimal Environments
This PR addresses issues with setting the WEZTERM_HOST environment variable in environments lacking certain hostname utilities, specifically hostname and hostnamectl, which may not be available in minimal or non-Systemd setups.
2025-02-08 14:24:23 -07:00
Wez Furlong 11c4b11669 s,wez/wezterm,wezterm/wezterm,
I moved the repo to an org of its own. Update various things
to reference the new location.
2025-02-07 13:08:01 -07:00
Wez Furlong 00644d4e1a update for new wezterm.org domain 2025-02-06 21:13:50 -07:00
Sirio Balmelli 51c794ac50 WezTerm.app/Contents/Info.plist: request network permissions
On MacOS 15 (Sequoia) and later,
Wezterm.app should ask for a LocalNetwork entitlement by default.

This fixes mysterious network failures (eg: 'no route to host') when:

- Wezterm is a toplevel process (ie: not a child of a process
  that already has LocalNetwork entitlement, like Terminal)
- A shell running inside Wezterm executes a process which accesses the network,
  but does not itself already have a LocalNetwork entitlement,
  eg: /etc/profiles/per-user/$(whoami)/bin/ssh
  for ssh installed by nix home-manager.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Andrew Gunnerson 2d0c5cddc9 shell-integration: Fix syntax error due to missing double quote
This fixes a regression introduced in commit
24702de74a.

Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
2024-09-15 15:32:43 -07:00
Dominique Martinet 24702de74a shell integration: check for saved PS1 value before using it
On bash it's possible to hit ^C before we remembered the PS1 which would
cause the shell to end up with an empty PS1, making it unclear that the
^C actually worked as there is no prompt left.

I'm not sure I understand the need to mess with the variable every time
(could just add the OSC codes if not already present and never remove
them?), but at least make it so we don't end up with an empty prompt
line by checking the saved value isn't empty.
2024-09-15 05:47:22 -07:00
Antoine Cotten bcf77a711c shell-integration: be resilient to nounset 2024-09-14 06:33:59 -07:00
Wez Furlong e7fe7c07da windows: update bundled conpty
These are the x64 binaries included in
https://terminalbuilds.blob.core.windows.net/builds/Microsoft.Windows.Console.ConPTY.1.19.240130002.nupkg

These are untried/untested!

Thread: https://fosstodon.org/@DHowett@mas.to/111909543715318285

refs: https://github.com/wez/wezterm/discussions/4989
refs: https://github.com/wez/wezterm/issues/1927
2024-02-10 16:50:08 -07:00
Wez Furlong 91749f7f1f docs and missing bit of #4535 #4523 2024-02-03 10:52:15 -07:00
Magnus Groß beb29e8ff7 Mention the -e aliases explicitly in the help
Otherwise it is just hidden forever. We can't use the proper declarative
interface, because we are faking quite some stuff for "-e", so instead
we mention it explicitly in the help output.
2024-02-03 10:36:07 -07:00
Wez Furlong 99c17b166f add wezterm start --new-tab and wezterm connect --new-tab
refs: https://github.com/wez/wezterm/discussions/4854
refs: https://github.com/wez/wezterm/discussions/4946
2024-02-03 07:51:06 -07:00
Wez Furlong d545e215c8 flatpak: update some metadata 2024-01-28 07:59:20 -07:00
Wez Furlong d6d70cc0a7 run ci/update-derived-files.sh 2024-01-28 07:59:20 -07:00
Wez Furlong 1e27cded2f update flatpak runtime version
Looking at this because the build failed in the latest release:
https://github.com/flathub/org.wezfurlong.wezterm/pull/16
2024-01-27 12:46:31 -07:00
Wez Furlong 0dedc7684d shell-integration: update bash-preexec.sh
It seems like newer versions collide with older versions(!)

https://fosstodon.org/@jimw@mefi.social/111797116746117103

so let's update to the newest version.
2024-01-23 06:19:39 -07:00
Wez Furlong 5e9688bd4e Update Symbols Nerd Font Mono to 3.1.1
Procedure is:

* Download the `NerdFontsSymbolsOnly.zip` release asset
* Extract the font into assets/fonts
* Run the codegen to update nerdfonts_data.rs:
  `cd termwiz/codgen ; cargo run`
* Apply formatting: `cd ../../ ; cargo +nightly fmt`
* Update the list of symbols in the docs:
  * edit `docs/config/lua/wezterm/nerdfonts.md`
  * delete the table
  * Run the embedded vim command that will regenerate the table

refs: https://github.com/wez/wezterm/pull/4656
2024-01-21 16:25:04 -07:00
Wez Furlong 5e0fd1a06e add wezterm record --cwd argument
refs: https://github.com/wez/wezterm/issues/4333
2023-09-29 09:30:24 -07:00
Wez Furlong 99c9613966 docs and derived files for zoom-pane
refs: #4160
2023-08-28 22:04:14 -07:00
Wez Furlong 098b928001 Update Noto Color Emoji to 2.038
This particular file has had the SVG table removed, reducing its
filesize from 23M down to 4.6M.

Previously, the png/bitmap based version was 9.5M, so this update
saves a few MB.

See discussion at:
https://github.com/harfbuzz/harfbuzz/discussions/4382#discussioncomment-6792813
2023-08-22 07:53:32 -07:00
Wez Furlong e048410491 imgcat: add resize and resample functionality
This is primarily to improve the chances of displaying an arbitrary
image without resorting to additional external tools, that may be
difficult or impossible to install.

refs: #3716
refs: #3264
2023-07-17 10:55:53 -07:00
Wez Furlong 2e505ad869 imgcat: add --position, --no-move-cursor and --hold options
These allow additional control over image placement

refs: https://github.com/wez/wezterm/issues/3716
2023-07-15 16:27:52 -07:00
Wez Furlong 690878e1cb remove old colors directory
This hasn't been used in some time
2023-07-09 20:29:47 -07:00
Wez Furlong f21dcb965e wezterm cli tlscreds: add --pem output mode
refs: #3892
2023-06-22 21:21:34 -07:00
Wez Furlong e4b96bd9bb update Symbols Nerd Font Mono to v3.0.1 2023-05-21 09:34:10 -07:00
Wez Furlong 43a8b442e3 Update conpty to rev 0ee2c74cd432eda153f3f3e77588164cde95044f
I want to try out the FTCS flush and any other conpty fixes that may
have been made since our last update.

refs: https://github.com/microsoft/terminal/issues/13710

These other issues may experience improved results, but likely not:

refs: https://github.com/wez/wezterm/issues/3748
refs: https://github.com/wez/wezterm/issues/3624
refs: https://github.com/wez/wezterm/issues/2779
refs: https://github.com/wez/wezterm/issues/2902
refs: https://github.com/wez/wezterm/issues/3531
refs: https://github.com/wez/wezterm/issues/3562
2023-05-20 19:44:25 -07:00
Mat JonesandWez Furlong 2f4266cb6a feat: resize pane from CLI (#3491)
* WIP resize pane from CLI

* fix response types

* fix: remove unneeded `import std::usize;`

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

* fix: update derived files

* fix: update codec version

* chore: update changelog.md

* fix: remove unneeded `import std::usize;`

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

* chore: update changelog.md

* remove erroneous changelog.md change

* remove erroneous changelog.md change

* remove whitespace changes

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-04-18 08:34:39 -07:00
axtloss 95a55959bc Bump flatpak runtime to 22.08 2023-04-17 16:17:03 -07:00
Wez Furlong 436847665d docs: update for wezterm replay changes
refs: #3446
2023-04-08 08:35:14 -07:00
Wez Furlong 9b67a71485 add wezterm cli get-pane-direction
refs: https://github.com/mrjones2014/smart-splits.nvim/issues/53
2023-04-05 07:00:49 -07:00
Wez Furlong 741570563d add wezterm cli rename-workspace
refs: #2787
2023-04-02 07:37:45 -07:00
Wez Furlong 000269261b add wezterm cli set-tab-title and wezterm cli set-window-title
refs: #1598
refs: #522
2023-04-01 23:00:00 -07:00
Wez Furlong 8092886146 windows: add manifest to config-using console apps, force UTF8 ACP
Lua appears to populate package.path to something based on the
executable path on windows, but since it uses msvcrt in ANSI mode,
that string is encoded in whatever 8-bit MBCS is configured by
the host system ACP setting.

Rust expects that to be UTF-8, but Windows doesn't guarantee it.

This commit updates the manifest for wezterm-gui to tell Windows
that it wants its ACP to be set to UTF-8 prior to launch, which
should resolve this situation for the GUI.

This commit also introduces a more cut-down manifest for the
console-subsystem executables that also use the lua config layer,
which should hopefully resolve this issue for them.

This commit was authored on a mac, so fingers crossed that it
even compiles properly on windows!

refs: https://github.com/wez/wezterm/issues/3390
2023-03-28 19:18:48 -07:00
Wez Furlong b99ecead8b ci: automate making PR for flathub at release time 2023-03-26 06:42:04 -07:00
Wez Furlong 843b9e8fc4 update bundled JetBrainsMono to 2.304 2023-03-25 07:18:29 -07:00
Wez Furlong 604ef152be add wezterm cli activate-pane, wezterm cli activate-tab
refs: #3352
refs: https://github.com/wez/wezterm/issues/886
2023-03-24 17:32:55 -07:00
Wez Furlong f44d02504c Add: wezterm cli kill-pane
refs: #3352
2023-03-24 17:31:34 -07:00
Wez Furlong 3e33610840 minor update to zsh completion 2023-03-21 18:42:17 -07:00