Commit Graph
8171 Commits
Author SHA1 Message Date
Wez Furlong 5cccee316a cargo update 2024-11-28 09:04:07 -07:00
Wez Furlong 0eb2c530cb docs: changelog for #6186 2024-11-28 09:02:18 -07:00
Sean Estabrooks 659aedffe8 Region scrolling tests and a fix
@tbung fixed a scrolling bug in #6099.  This patch just
adds some tests and takes care of a couple corner cases
that still remained with region scrolling.
2024-11-28 09:01:13 -07:00
Sean Estabrooks b2889fe889 Region scrolling tests 2024-11-28 09:01:13 -07:00
Wez Furlong 4050072da2 fix warning 2024-11-19 10:14:32 -07:00
Pedro 979df78269 Fixed minor typo in the example from `get_default_colors.md 2024-11-14 16:01:16 -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
Sirio Balmelli 255b9e0783 nix/flake.nix: fix x86_64-darwin build
The default SDK errors missing UserNotifications on x86_64-darwin.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Sirio Balmelli 6fc35e7dcb nix/flake.lock: update
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2024-11-04 08:34:04 -07:00
Sandro Jäckel c57b3ee28b nix: add headless variant
see https://github.com/NixOS/nixpkgs/commit/e6e229dc20b3492c2f2b7789f61b6fb8adf43ee3
2024-11-03 17:51:37 -07:00
Anthony M. Cook 0983ae90d6 Mark wayland-backend as optional dependency (#6342)
* Mark wayland-backend as optional dependency

Fixes #6315

https://github.com/wez/wezterm/commit/09ac8c53777ac6de61b757292f5dc4da80322bbd introduced the `wayland-backend` dependency, but did not mark it as optional, this prevented the build from successfully completing on X11 systems without Wayland development libraries.
2024-10-31 23:51:12 -07:00
Wez Furlong f847bd284d hbwrap: from_raw_parts handling of null ptr
use similar approach to 67d4ba9f76

closes: https://github.com/wez/wezterm/pull/6337
closes: https://github.com/wez/wezterm/issues/6336
2024-10-30 21:54:04 -07:00
Sean Estabrooks 6a0ed04df4 Alter copr spec file for Fedora 41 and Rawhide
SlouchyButton mentioned in #6015 that a Fedora Openssl
packaging change was likely causing a problem for the
copr build.

The deprecated engine header has been broken out into
its own package.  Add a dependency on it for Fedora 41
and Rawhide.
2024-10-30 21:42:23 -07:00
SATOH Fumiyasu 9ddca7bde9 docs: Put APT key into /etc/apt/keyrings
sources.list(5) says:

> The recommended locations for keyrings are
> /usr/share/keyrings for keyrings managed by packages, and
> /etc/apt/keyrings for keyrings managed by the system operator.
2024-10-15 08:31:51 -07:00
Jack Tubbenhauer 1595b5d388 docs: fix InputSelector.md typo 2024-10-15 08:30:51 -07:00
Luis Mario Domenzain ed430415ee add X11 xmonad to tiling_desktop_environments 2024-10-07 10:37:14 -07:00
Wez Furlong a2f2c07a29 cirrus: token update 2024-09-28 21:55:36 -07:00
Sean Estabrooks 2b76c63bb6 Suppress compiler warnings, due to never type (!)
As per <https://github.com/rust-lang/rust/issues/123748>
! will no longer degrades into () which in this situation
breaks type deduction; so specify it explicitly.
2024-09-22 15:12:28 -07:00
Sean Estabrooks d48e992431 Show support for ProxyUseFDpass in ssh docs
For enhancement requested in issue #6093
2024-09-22 15:12:28 -07:00
Wez Furlong c3e77c6740 docs: changelog for #6007 2024-09-22 14:47:23 -07:00
Wez Furlong 67603e73e0 PromptInputLine: fixup per code review
Apply my suggestions from code review.

closes: https://github.com/wez/wezterm/pull/6007
2024-09-22 14:45:11 -07:00
Eduard Korchmar b59cc5b008 feat: add a way to spawn populated LineEditor
feat: support pre-filled content in prompts

docs: document new PromptInputLine parameter

fix: remove reset of line contents
2024-09-22 14:45:11 -07:00
Wez Furlong de0ecc60eb docs: changelog for #6054 2024-09-22 10:59:11 -07:00
mgpinfandWez Furlong 6a12dd1a13 Custom prompt for PromptInputLine (#6054)
* option to configure PromptInputLine prompt

- Introduces an option to set custom prompt text
- If 'prompt' not passed in parameters, default value of "> " used

* commit: update documentation for PromptInputLine

* Update docs/config/lua/keyassignment/PromptInputLine.md

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-09-22 10:55:55 -07:00
Wez Furlong 5a594f5165 docs: changelog for #4568 2024-09-22 09:16:25 -07:00
Wez Furlong da0a738169 rustfmt 2024-09-22 09:11:22 -07:00
Wez Furlong d7938cb6b2 wayland: handle left/right tiling too
refs: https://github.com/wez/wezterm/pull/5897
2024-09-22 09:10:15 -07:00
Aliaksandr Truš c75d300f6f feat: implement toggle_fullscreen and hide for Wayland
closes https://github.com/wez/wezterm/pull/5897
2024-09-22 09:04:43 -07:00
Aliaksandr Truš 16a8bcdd89 fix(wayland): match inner window and window frame sizes 2024-09-22 08:06:10 -07:00
Wez Furlong 1c4fdd3f71 ci: refine triggers for no-response workflow 2024-09-21 20:46:52 -07:00
Wez Furlong 62f4b44881 ci: switch no-response workflow to "official" stale workflow 2024-09-21 20:41:28 -07:00
Wez Furlong 9d4a145303 docs: changelog for #6158
closes: #6158
2024-09-21 13:52:13 -07:00
Sean Estabrooks c63195f880 Handle # and ? characters in directory path
When referencing the current-working-directory, before
it is set by an OSC 7 escape sequence, we ask the OS
for the correct path.  This path was then being parsed
as a URL; where a "#" or "?" character would be
interpreted as the start of a fragment or query
component of a URL -- which is a mistake.

So this change parses the returned directory as such,
where those characters will be treated as a normal
character in the path.

Nothing is changed for the OSC 7 escape sequence case.
In that case, the application must percent-encode the
path before sending, so that those characters are not
misinterpreted.

As per issue #6158 reported by Syntaxheld
2024-09-21 13:50:42 -07:00
Wez Furlong c65dc63495 ci: missed an upload-artifact upgrade 2024-09-21 12:49:12 -07:00
Ricky Lopez 2b23b04f7d nix: output WezTerm.app on Mac
currently only the binaries are output. Build and output the .app dir so
that users can launch the app as-normal on Mac

Added code taken from
[nixos](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/terminal-emulators/wezterm/default.nix#L116-L123)
2024-09-21 12:02:03 -07:00
Wez Furlong 7b342a6b39 ci: update upload/download artifact workflows
closes: https://github.com/wez/wezterm/pull/6083
2024-09-21 12:00:03 -07:00
Wez Furlong 6c1dbc0eb2 ci: fix cachix action version 2024-09-20 20:52:15 -07:00
Wez Furlong 8983afbd52 ci: add manual dispatch to nix workflows 2024-09-20 20:50:35 -07:00
Wez Furlong abfc0b4c3a update cachix public key 2024-09-20 07:31:23 -07:00
Thomas Croft 3b981bbd91 Added: nix install docs 2024-09-20 07:31:23 -07:00
Thomas Croft 797234fddf Added: nix nightly build to cachix 2024-09-20 07:31:23 -07:00
xixishidibei 832c533c5f chore: remove redundant words in comment
Signed-off-by: xixishidibei <xixishidibei@outlook.com>
2024-09-18 06:49:17 -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
Wez Furlong 9bf30b8dd6 docs: fix mistake with PATH example
closes: https://github.com/wez/wezterm/issues/5967
2024-09-15 08:24:26 -07:00
Wez Furlong b3d1885187 cargo update 2024-09-15 08:18:46 -07:00
Wez Furlong da3df95114 deps: glium to 0.35
Not sure that this has any impact on us, as the changelog says
that the only change upstream was that glutin was updated.
We don't use glium with glutin, so probably a NOP?
2024-09-15 08:17:51 -07:00
Wez Furlong 09ac8c5377 wgpu -> 22.1
Tested on X11 and Wayland via weston and seems to work

closes: https://github.com/wez/wezterm/pull/5814
2024-09-15 05:56:56 -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
github-actions[bot] 1eddc9157f flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9bb1e7571aadf31ddb4af77fc64b2d59580f9a39?narHash=sha256-Yd0FK9SkWy%2BZPuNqUgmVPXokxDgMJoGuNpMEtkfcf84%3D' (2024-09-05)
  → 'github:NixOS/nixpkgs/01f064c99c792715054dc7a70e4c1626dbbec0c3?narHash=sha256-3//V84fYaGVncFImitM6lSAliRdrGayZLdxWlpcuGk0%3D' (2024-09-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/8cc45e678e914a16c8e224c3237fb07cf21e5e54?narHash=sha256-hXW3csqePOcF2e/PYnpXj72KEYyNj2HzTrVNmS/F7Ug%3D' (2024-09-07)
  → 'github:oxalica/rust-overlay/e9f8641c92f26fd1e076e705edb12147c384171d?narHash=sha256-YfLRPlFZWrT2oRLNAoqf7G3%2BNnUTDdlIJk6tmBU7kXM%3D' (2024-09-14)
2024-09-14 17:25:31 -07:00
Wez Furlong 3a4125e728 docs: changelog for #5964 2024-09-14 11:45:10 -07:00