1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-26 08:25:50 +03:00
Commit Graph

8066 Commits

Author SHA1 Message Date
Roy
f0416016dc
chore: Updating docs for macOS Homebrew
closes: https://github.com/wez/wezterm/pull/5815
closes: #5466
closes: #5805
closes: #5433
2024-07-15 06:10:26 -07:00
Wez Furlong
b20c61926e
switch all fuzzy matches to nucleo
Centralize the thread local state management into the selector module
to make it a bit more convenient to consume from the various other
locations.

closes: https://github.com/wez/wezterm/issues/5532
2024-07-14 11:03:54 -07:00
Wez Furlong
6b5edad360
charselect: switch to nucleo fuzzy matcher
This has more intuitive sorting; eg: `line` used to show the first match
as `linux_endeavour` but now matches `LINEAR B IDEOGRAM VESSEL B212`
first, which feels more relevant (has an exact prefix match).

refs: https://github.com/wez/wezterm/issues/5532
2024-07-14 10:41:26 -07:00
github-actions[bot]
30ecc426ca flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb?narHash=sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8%3D' (2024-07-05)
  → 'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db?narHash=sha256-po3TZO9kcZwzvkyMJKb0WCzzDtiHWD34XeRaX1lWXp0%3D' (2024-07-12)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/05ccbe21233d4e9110fc6428d2c3d74b430c3c69?narHash=sha256-eR5glZHS2bLpzUgTDhWGm04j%2Bj5KMYKoDsY5DXAiuKQ%3D' (2024-07-06)
  → 'github:oxalica/rust-overlay/92f0608ab66c9770e931056b1c7a1b6249dbc43a?narHash=sha256-WMwo/kZ3o2h5Bls4dEyQ3XFZ4nw2UbbOUFpq3aVlkms%3D' (2024-07-13)
2024-07-14 08:14:26 -07:00
Wez Furlong
824def9e2c
remove some unused fields 2024-07-14 07:59:25 -07:00
Wez Furlong
616eb2fc21
fix: PaneInformation.pixel_height returned width!
Thank you to Rust's unread field warning!
2024-07-14 07:52:05 -07:00
Wez Furlong
209d13bd6b
allow some unused fields
I want these for the future, and they are harmless now
2024-07-14 07:50:30 -07:00
Wez Furlong
5b0642d2dc
fix unused mut warning 2024-07-14 07:45:54 -07:00
Wez Furlong
f7a0a0f1a6
blob-lease: improve error handling
If someone removed the directory structure, or otherwise messed with
the files, there was a good chance that we'd end up in a panic.

This commit improves the error messaging produced by the blob
lease layer to provide the path as context, log the error,
and then translate the error case to an empty frame so that
the rest of the rendering machinery can proceed in a more reasonable
way.

We take care to log this sort of corrupt frame error only once,
as it is most likely to occur in an animated gif and will thus
trigger multiple times per second for such a file.

refs: #5422
2024-07-14 07:45:10 -07:00
Wez Furlong
ff4528e783
fix: blob leases could be broken by tmpwatch
Let's put them in an application-specific cache directory
location instead.

refs: #5422
2024-07-14 07:10:17 -07:00
Wez Furlong
4884f31762
fix potential panic on shutdown when mux_enable_ssh_agent=true
refs: https://github.com/wez/wezterm/issues/5518
2024-07-13 15:50:03 -07:00
Wez Furlong
4e8eb7c2ca
fix: quickselect now matches paths with //
closes: https://github.com/wez/wezterm/issues/5763
2024-07-13 14:25:01 -07:00
Przemek Pawlas
749ddc9ffe
Update quick_select_patterns.md to include info about capturing groups
closes: https://github.com/wez/wezterm/pull/5082
2024-07-13 12:00:26 -07:00
Wez Furlong
ad11815e87
deps: harfbuzz -> 9.0.0 2024-07-13 11:42:20 -07:00
Wez Furlong
65e9378f25
docs: changelog for #3818 2024-07-13 11:34:04 -07:00
Aleksey Kuznetsov
a46bad17d2
config: show/hide close-tab button 2024-07-13 11:32:54 -07:00
github-actions[bot]
3607204d80 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/90338afd6177fc683a04d934199d693708c85a3b?narHash=sha256-%2B1xgeIow4gJeiwo4ETvMRvWoircnvb0JOt7NS9kUhoM%3D' (2024-06-21)
  → 'github:NixOS/nixpkgs/4284c2b73c8bce4b46a6adf23e16d9e2ec8da4bb?narHash=sha256-i4vJL12/AdyuQuviMMd1Hk2tsGt02hDNhA0Zj1m16N8%3D' (2024-07-05)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ff019b65a656d36dca3e57b43c40c44eec7852c5?narHash=sha256-ZDS8x9XpFeSBs9gMTHoujKWPn%2Bi9ecqE9NWEUF07Yuc%3D' (2024-06-22)
  → 'github:oxalica/rust-overlay/05ccbe21233d4e9110fc6428d2c3d74b430c3c69?narHash=sha256-eR5glZHS2bLpzUgTDhWGm04j%2Bj5KMYKoDsY5DXAiuKQ%3D' (2024-07-06)
2024-07-13 11:04:54 -07:00
Wez Furlong
e19aa2f05d
docs: changelog/thanks for wayland work
refs: #5781
2024-07-13 10:50:58 -07:00
Thayne McCombs
ccb7270dd7
Upgrade smithay-client-toolkit to 0.19
closes: https://github.com/wez/wezterm/pull/5781
2024-07-13 10:49:45 -07:00
dependabot[bot]
b158472099 build(deps): bump the all group across 1 directory with 2 updates
Bumps the all group with 2 updates in the / directory: [http_req](https://github.com/jayjamesjay/http_req) and [gethostname](https://github.com/swsnr/gethostname.rs).


Updates `http_req` from 0.10.3 to 0.11.0
- [Release notes](https://github.com/jayjamesjay/http_req/releases)
- [Commits](https://github.com/jayjamesjay/http_req/compare/v0.10.3...v0.11.0)

Updates `gethostname` from 0.4.3 to 0.5.0
- [Changelog](https://github.com/swsnr/gethostname.rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swsnr/gethostname.rs/compare/v0.4.3...v0.5.0)

---
updated-dependencies:
- dependency-name: http_req
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: gethostname
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 06:49:29 -07:00
Wez Furlong
44c1335856
wezterm-ssh: avoid configuration default config files in tests 2024-07-13 06:39:11 -07:00
Wez Furlong
d4d5c03b57
cargo update 2024-07-13 06:33:45 -07:00
Wez Furlong
fab09fd331
ci: Add ubuntu 24.04 2024-07-13 06:31:39 -07:00
Austin Horstman
69686f4564 nix/flake.nix: remove invalid follows
Rust overlay no longer uses flake-utls
2024-07-01 07:09:26 -07:00
Wez Furlong
552bb1d66b
cargo update 2024-06-24 06:55:22 -07:00
Wez Furlong
b6cc0382cb
ci: update sccache action
closes: #5751
2024-06-24 06:54:47 -07:00
github-actions[bot]
4daab4dc7a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3f84a279f1a6290ce154c5531378acc827836fbb?narHash=sha256-u1fA0DYQYdeG%2B5kDm1bOoGcHtX0rtC7qs2YA2N1X%2B%2BI%3D' (2024-06-13)
  → 'github:NixOS/nixpkgs/90338afd6177fc683a04d934199d693708c85a3b?narHash=sha256-%2B1xgeIow4gJeiwo4ETvMRvWoircnvb0JOt7NS9kUhoM%3D' (2024-06-21)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7c2d603cb67c974ef8c5cfee1150060dbb299e04?narHash=sha256-s8QrTANEtY6UxzfkcBfoN93bgW9aCRIq54LPRVNu/4c%3D' (2024-06-15)
  → 'github:oxalica/rust-overlay/ff019b65a656d36dca3e57b43c40c44eec7852c5?narHash=sha256-ZDS8x9XpFeSBs9gMTHoujKWPn%2Bi9ecqE9NWEUF07Yuc%3D' (2024-06-22)
• Removed input 'rust-overlay/flake-utils'
2024-06-23 13:01:18 -07:00
Wez Furlong
cb1406860a
ci: explicitly install both intel and arm rust for macos 2024-06-17 08:35:35 -07:00
Wez Furlong
91dbc0f6a1
ci: drop centos8
It reached EOL at the end of May 2024
2024-06-17 08:31:17 -07:00
Wez Furlong
3826086386
ci: switch mac builds to macos-latest 2024-06-17 08:29:23 -07:00
Andy Georges
17958dbbec
Check for the presence of CARGO_BUILD_TARGET_DIR env variable (#5430)
* feat: use CARGO_BUILD_TARGET_DIR env

When building in the presence of a CARGO_BUILD_TARGET_DIR, there is no
target dir created inside the repo, so copying to a location within the
local repo dir fails, hence we need to copy to the actual target dir
that is being used.

* fix: environment variable with correct name
2024-06-17 08:25:57 -07:00
gitmpr
1d3a459ca8
Bugfix/docs typos (#5571)
* Update SelectTextAtMouseCursor.md

fix typo

* Update index.markdown

fix typo
2024-06-16 14:09:42 -07:00
github-actions[bot]
404c1937ef flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/d226935fd75012939397c83f6c385e4d6d832288?narHash=sha256-HV97wqUQv9wvptiHCb3Y0/YH0lJ60uZ8FYfEOIzYEqI%3D' (2024-06-07)
  → 'github:NixOS/nixpkgs/3f84a279f1a6290ce154c5531378acc827836fbb?narHash=sha256-u1fA0DYQYdeG%2B5kDm1bOoGcHtX0rtC7qs2YA2N1X%2B%2BI%3D' (2024-06-13)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/6dc3e45fe4aee36efeed24d64fc68b1f989d5465?narHash=sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28%3D' (2024-06-08)
  → 'github:oxalica/rust-overlay/7c2d603cb67c974ef8c5cfee1150060dbb299e04?narHash=sha256-s8QrTANEtY6UxzfkcBfoN93bgW9aCRIq54LPRVNu/4c%3D' (2024-06-15)
2024-06-16 06:31:54 -07:00
Wez Furlong
794389ceac
docs: changelog for #5564 2024-06-15 05:43:07 -07:00
Ken Chou
1533409ed7
Feature: The search overlay accepts IME composed input (#5564)
* Feature: The search overlay accepts IME composed input
* use LineEditBuffer

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-06-15 05:42:00 -07:00
Dominik Gedon
21d8b6bf5d
Updates for openSUSE/SUSE (#5407)
* get-deps: remove not needed deps for openSUSE/SUSE

These 2 dependencies are not needed when building from source. I tested
this for Tumbleweed, Slowroll and Leap 15.5.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

* docs: Update docs for openSUSE/SUSE

- Mention different flavours of openSUSE and how to install WezTerm
  there.
- The recommended way is always via the official repositories. However,
  this is not possible for Leap 15.5 as of now.

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

* TMP: address suggestions from @wez

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>

---------

Signed-off-by: Dominik Gedon <dominik.gedon@suse.com>
2024-06-14 20:13:03 -07:00
Wez Furlong
ad5d6f96ff
docs: changelog for #5416 2024-06-14 11:23:04 -07:00
Ivan Moiseev
72465af6d7
Add arrows support for search field (#5416)
* feat: add arrows support for search field
* refactor: extract LineEditBuffer from LineEditor
* refactor: migrate search field to LineEditBuffer
* feat: add key bindings for search field

Co-authored-by: Ken Chou <kenchou77@gmail.com>
2024-06-14 11:21:07 -07:00
Wez Furlong
f5e496ebc2
docs: update with hints on building on Windows
closes: #5528
2024-06-09 09:51:34 -07:00
github-actions[bot]
11124f0cfe flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/1ef2e671c3b0c19053962c07dbda38332dcebf26?narHash=sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA%3D' (2024-01-15)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/f0326542989e1bdac955ad6269b334a8da4b0c95?narHash=sha256-bl7E3w35Bleiexg01WsN0RuAQEL23HaQeNBC2zjt%2B9w%3D' (2024-01-16)
  → 'github:NixOS/nixpkgs/d226935fd75012939397c83f6c385e4d6d832288?narHash=sha256-HV97wqUQv9wvptiHCb3Y0/YH0lJ60uZ8FYfEOIzYEqI%3D' (2024-06-07)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a854609265af0e9f48c92e497679edf8fab9e690?narHash=sha256-5cCHQtP/PEHK1YNTQyZN9v8ehpLTjc723ZSKAP3Tva8%3D' (2024-01-17)
  → 'github:oxalica/rust-overlay/6dc3e45fe4aee36efeed24d64fc68b1f989d5465?narHash=sha256-wqbRwq3i7g5EHIui0bIi84mdqZ/It1AXBSLJ5tafD28%3D' (2024-06-08)
2024-06-08 17:24:42 -07:00
Robert Zhu
7d8675fdfe fix link 2024-06-08 13:32:15 -07:00
Wez Furlong
eb26a5daa1
docs: changlog for #5441 #5304 2024-06-07 17:54:37 -07:00
Wez Furlong
accd16e72e
deps: update rstest
closes: https://github.com/wez/wezterm/pull/5512
2024-06-07 17:53:46 -07:00
Wez Furlong
9bfcb69139
deps: metrics -> 0.23
refs: https://github.com/wez/wezterm/pull/5512
2024-06-07 17:53:46 -07:00
Wez Furlong
1c4aa949d6
ci: update cirrus to fbsd 14
fbsd 13 doesn't seem to be supported there any longer
2024-06-07 17:53:46 -07:00
Wez Furlong
e8b96ef10d
cargo update 2024-06-07 17:53:46 -07:00
Ivan Moiseev
4f190b0ff6
Fix: slow close non last tab (#5441)
* fix: slow close non last tab

* fix: found better place

* Update mux/src/window.rs

---------

Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2024-06-07 17:53:31 -07:00
Wez Furlong
ccdfc327a2
docs: changelog for #5515 and #3807 2024-06-07 17:41:29 -07:00
Michael Baird
af4f5edb50 Fix notch avoidance padding in full screen mode
Fixes https://github.com/wez/wezterm/issues/3807

The values returned by [`safeAreaInsets`][0] need to be multipled by the
scale factor of the display (in case of the MacBook Pro 14-inch, 2021, a
value of 2.0).

There's a code comment referencing [#1737 (comment)][1], where an extra
`2` was added to this number, but something must have changed since then
because I cannot see a need for this now.

[0]: https://developer.apple.com/documentation/appkit/nsscreen/3882821-safeareainsets
[1]: https://github.com/wez/wezterm/issues/1737#issuecomment-1085923867
2024-06-07 17:40:11 -07:00
Wez Furlong
e4b18c41e6
cargo update 2024-06-03 19:46:16 -07:00