1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-22 04:56:12 +03:00
Commit Graph

8083 Commits

Author SHA1 Message Date
Wez Furlong
56a27e93a9
cargo update
plus some noise around the image crate api evolving and deprecating
some type aliases.
2024-07-30 08:27:27 -07:00
Wez Furlong
9f5c2adb29
docs: changelog for #5750 #5871 2024-07-30 07:45:10 -07:00
Thayne McCombs
03407cae99 fix: Use cols not rows for left margin bound
The location of the left margin should depend on the width, not the
height.

Fixes: #5750
2024-07-30 07:40:42 -07:00
Wez Furlong
7e8fdc118d
docs: changelog for #4924 2024-07-22 08:09:56 -07:00
Leszek Swirski
fef52df952
Add a CloseWithoutClear copy mode key assignment (#4924)
* Add a CloseWithoutClear copy mode key assignment

Closing the copy overlay currently unconditionally clears the viewport,
in particular resetting scroll. For the search overlay, we don't
necessarily want to scroll back to the prompt after finding a match --
indeed, the old search overlay (which didn't use copy mode) had this
behaviour.

Add a CloseWithoutClear key assignment which has this desired behaviour,
and make it the default for ESC in search mode.

* Change CloseWithoutClear into normal Close, and add ResetViewport

* Remove ResetViewport, add helper for keys
2024-07-22 08:06:54 -07:00
github-actions[bot]
574e0221fa flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8b5a3d5a1d951344d683b442c0739010b80039db?narHash=sha256-po3TZO9kcZwzvkyMJKb0WCzzDtiHWD34XeRaX1lWXp0%3D' (2024-07-12)
  → 'github:NixOS/nixpkgs/6e14bbce7bea6c4efd7adfa88a40dac750d80100?narHash=sha256-pFSxgSZqZ3h%2B5Du0KvEL1ccDZBwu4zvOil1zzrPNb3c%3D' (2024-07-20)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/92f0608ab66c9770e931056b1c7a1b6249dbc43a?narHash=sha256-WMwo/kZ3o2h5Bls4dEyQ3XFZ4nw2UbbOUFpq3aVlkms%3D' (2024-07-13)
  → 'github:oxalica/rust-overlay/b7996075da11a2d441cfbf4e77c2939ce51506fd?narHash=sha256-gYGX9/22tPNeF7dR6bWN5rsrpU4d06GnQNNgZ6ZiXz0%3D' (2024-07-20)
2024-07-21 07:34:31 -07:00
Thiago Kenji Okada
643d85f8c9 nix: add meta.mainProgram
To avoid the following warning while using `lib.getExe`:

```
warning: getExe: Package wezterm does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".
```
2024-07-19 08:17:40 -07:00
Wez Furlong
c9116830c2
mux: augment PKI SAN list with getaddrinfo AI_CANONNAME
This should hopefully make things a bit easier to consume
for remote clients.

refs: https://github.com/wez/wezterm/issues/5543
2024-07-15 08:09:45 -07:00
Wez Furlong
ae9cdad228
ssh domains: use default local echo threshol
The implementation of this is a bit gnarly, because we have
an optional value with a default that *is* populated by the
dynamic config stuff, but that isn't part of the derive(Debug)
impl.

closes: https://github.com/wez/wezterm/issues/5547
2024-07-15 07:27:46 -07:00
Wez Furlong
fe17be2973
docs: fix some anchors 2024-07-15 07:00:13 -07:00
Wez Furlong
d249c4933d
sync color schemes 2024-07-15 06:39:26 -07:00
Wez Furlong
0fd76a77c5
docs: fixup absolute link warning for {{since(nightly)}}
We can now compute a relative link instead
2024-07-15 06:23:31 -07:00
Wez Furlong
d701a8fcea
docs: changelog for #5494 #5479 2024-07-15 06:15:30 -07:00
Naitik Shah
463df9ebed kill and reap ProxyCommand
The wrapper struct ensures ensures the child process spawned for
the ProxyCommand is cleaned up under all the various error scenarios
(such as auth failures etc), as well as in the normal successful use
case. This includes killing it if necessary, and then waiting for it.
2024-07-15 06:14:04 -07:00
Wez Furlong
57be095264
docs: changelog for #4657
closes: #4657
2024-07-15 06:12:57 -07:00
Wez Furlong
7e053d62cb
cargo update 2024-07-15 06:11:09 -07:00
Wez Furlong
04e443b5f1
docs: changelog
tweak sctk bit for #5781
2024-07-15 06:11:08 -07:00
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