Commit Graph
8181 Commits
Author SHA1 Message Date
Wez Furlong 8d3cd83fcd deps: update to zlib 1.3.1
refs: https://github.com/wez/wezterm/pull/6540
2025-01-02 07:59:53 -07:00
Wez Furlong 6f375e29a2 wezterm-ssh: update pty version 2024-12-05 08:35:33 -07:00
Wez Furlong 1f00bb3e89 docs: changelog for serial bits
refs: #6411
closes: #6460
2024-12-05 08:31:57 -07:00
Wez Furlong 1e941fca5c pty: bump semver because serial2 changes public API
refs: #6411
2024-12-05 08:30:36 -07:00
Jeevitha Kannan K S b38b5ef327 Use serial2 crate instead of serial (#6411)
* Use serial2 crate instead of serial

* Remove mutex and add back the API methods
2024-12-05 08:30:04 -07:00
occupyhabit 72e723187c chore: remove redundant words in comment
Signed-off-by: occupyhabit <wangmengjiao@outlook.com>
2024-12-04 07:49:30 -07:00
Wez Furlong 4906789a6d rustfmt 2024-11-29 15:21:48 -07:00
Wez Furlong 74015a95c7 fix some warnings with rust 1.83
It's complaining about non-local impls and elided lifetimes
that have names.

I don't recall why I thought I needed these "dummy" enclosing
scopes, and they are most likely cargo-cult copypasta from
some other derive implementation that I used as inspiration.
2024-11-28 21:32:15 -07:00
Cosimo Matteini a7ff718c7c wayland: reimplement maximize and restore
It was removed with wayland reimplementation in #4777
2024-11-28 10:58:03 -07:00
Tom e9473edd3e Disable libpng VSX_OPT flag for PowerPC 64
Fix a linker error in wezterm-gui due to a missing libpng feature on modern PowerPC 64-bit platforms.
2024-11-28 10:55:24 -07:00
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