1
1
mirror of https://github.com/wez/wezterm.git synced 2024-08-16 17:50:28 +03:00
Commit Graph

8020 Commits

Author SHA1 Message Date
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
Wez Furlong
f53145fa4c
docs: refine docker execdomain example
Thanks to @SalahEddineGhamri for filling in some of the gaps
in the existing example

refs: https://github.com/wez/wezterm/discussions/5510
2024-06-03 19:44:16 -07:00
Bogdan-Cristian Tătăroiu
b8f94c474c Update docs to reflect CI nightly builds being available for Fedora 40.
Mention that nightly rpms are also available in Copr while I'm at it.
2024-05-20 13:57:08 -07:00
Bogdan-Cristian Tătăroiu
da2d0ad267 ci: Update Fedora versions.
Fedora 40 was released, Fedora 37 is EOL.
2024-05-20 08:45:32 -07:00
Bogdan-Cristian Tătăroiu
993eb9f3a9 Fix Windows CI.
It's currently failing when running tests with errors of the form:

> error: creating test list failed
>
> Caused by:
>   for `wezterm-config-derive`, command
>   `'D:\a\wezterm\wezterm\target\debug\deps\wezterm_config_derive-f1c7f0f2de220b6e.exe'
>   --list --format terse` exited with code 0xc0000135: The specified
>   module could not be found. (os error 126)

This seems to have been caused by nextest-rs/nextest#1493, with this comment
as a fix: https://github.com/nextest-rs/nextest/issues/1493#issuecomment-2106331574
2024-05-20 08:39:43 -07:00
Wez Furlong
6fe1d4d2f8
cargo update 2024-05-19 16:40:07 -07:00
Wez Furlong
88877c689c
ignore .tag file 2024-05-19 16:38:06 -07:00
Wez Furlong
5ab34f0420
flesh out Makefile a bit 2024-05-19 16:38:06 -07:00
michaelBelsanti
396c8d9a88 use correct flake dir in update-flake workflow 2024-05-17 14:23:44 -07:00
Reilly Wood
332b9b8b68 Windows: fix warnings in pty crate 2024-05-15 05:43:55 -07:00
Wez Furlong
f1a0842608
windows: fix warning 2024-05-13 19:07:55 -07:00
Wez Furlong
44b61d7e82
wezterm-uds: impl AsRawSocket 2024-05-13 18:40:50 -07:00
Wez Furlong
0fcd4a847c
move uds stuff into new wezterm-uds crate
This centralizes the conditional imports and makes a home
for the IoSafe trait annotation for smol/async-io compat.
2024-05-13 17:56:57 -07:00
Wez Furlong
a597803c13
windows: fixup for newer libloading 2024-05-13 15:54:14 -07:00
Wez Furlong
6b493ecd18
windows: another run at fixing up the build 2024-05-13 15:09:48 -07:00
Wez Furlong
dd80aca72a
filedescriptor: fix windows build 2024-05-13 14:14:47 -07:00
Wez Furlong
a1db8a2f46
deps: missed a cocoa 2024-05-13 14:12:48 -07:00
Wez Furlong
ee78f86293
deps: update macos specific packages 2024-05-13 14:10:09 -07:00
mirror-kt
b1af9e873b nix: allowBuiltinFetchGit = true 2024-05-13 14:01:11 -07:00
Wez Furlong
ccc32faaba
speculative windows build fix 2024-05-13 13:58:26 -07:00
Wez Furlong
eb6fc75a17
termwiz: remove semver dep
The newer version is much more strict about its inputs
and we're dealing with all sorts of weirdness as input
from the environment, so let's just roll our own simple
solution.
2024-05-13 13:03:44 -07:00
Wez Furlong
1f33b35932
add Makefile
This enables `make fmt` which is how I usually run fmt in other
repos and works better with my ctrl-R and muscle memory.
2024-05-13 12:46:23 -07:00
Wez Furlong
2a068cacb7
deps: update terminfo 2024-05-13 12:29:19 -07:00
Wez Furlong
b07ebd4f09
termwiz: nix requires fs + mman for shm_open 2024-05-13 12:28:07 -07:00
Wez Furlong
de10834b6d
add X11 Qtile to tiling_desktop_environments
closes: https://github.com/wez/wezterm/issues/5415
2024-05-13 12:22:47 -07:00
Wez Furlong
723f062d0d
deps: update strsim 2024-05-13 12:20:09 -07:00
Wez Furlong
26cd8bebca
termwiz deps: update semver 2024-05-13 12:19:56 -07:00
Wez Furlong
7af8290231
deps: update/dedup num, num-derive 2024-05-13 11:58:52 -07:00
Wez Furlong
0f03117776
deps: update miniz-oxide 2024-05-13 11:55:58 -07:00
Wez Furlong
84bb2fdc46
deps: dedup some nix versions 2024-05-13 11:53:27 -07:00
Wez Furlong
90822d64a3
deps: remove duplicate memmap2 2024-05-13 11:45:47 -07:00
Wez Furlong
6ad0da98d8
deps: remove smol-potat, update futures-lite
smol-potat hasn't had updates in 4 years and was bifurcating some
big deps.  It wasn't necessary; it was trivially easy to replace
with smol::block_on with no meaningful increase in boilerplate,
and the result is much more understandable in purpose and effect.
2024-05-13 11:43:10 -07:00
Wez Furlong
944e0b29b6
deps: update to new filenamegen 2024-05-13 11:19:33 -07:00
Wez Furlong
70c4e03750
deps: update flume 2024-05-13 10:29:12 -07:00
Wez Furlong
1ca5e6cc90
deps: upgrade smol to 2.0 2024-05-13 10:26:29 -07:00
Wez Furlong
421ce4f0e1
deps: update zbus 2024-05-13 09:56:11 -07:00
Wez Furlong
c6ffe92853
deps: remove a duplicate version of libloading 2024-05-13 09:45:45 -07:00
Wez Furlong
6c890c3995
update metrics to latest version (0.22) 2024-05-13 09:41:12 -07:00
Wez Furlong
281b6e2740
deps: update metrics to a more recent version
This isn't the latest version of metrics; it's just a more recent
version that allows us to remove a duplicate ahash dependency from the
build graph.
2024-05-13 09:41:11 -07:00
Wez Furlong
14d426fea8
add cargo deny config, update lru 2024-05-13 08:29:36 -07:00
Wez Furlong
c4c6b723c0
cargo update 2024-05-13 07:19:47 -07:00
Wez Furlong
f0e62d26f3
update libssh-rs 2024-05-13 07:19:17 -07:00
Wez Furlong
55de5b0e4e
update xcb-imdkit to pick up more from_raw_parts related fixes
refs: https://github.com/wez/xcb-imdkit-rs/pull/1
2024-05-11 07:12:06 -07:00
Jeffrey Knockel
79ce027d38 x11: fix exposures on child window
We should watch the child window for exposure events, not the parent
window (the parent window is just a background color and we never paint
to it).

This was a regression from commit 809bcc55.

Fixes #5405.
2024-05-10 13:39:48 -07:00
Wez Furlong
ca27f921e2
wezterm cli list-clients: add ssh_auth_sock to json, tidy up duration
Make longer durations a bit more intelligible.
Add the auth sock to the json format output from the command.
2024-05-10 08:27:05 -07:00
Wez Furlong
e19def7c9a
codec: improve error messaging when remote is misconfigured
Work a bit harder to surface that the remote might be outputting
stuff to stdout.

closes: https://github.com/wez/wezterm/issues/5380
2024-05-10 06:24:20 -07:00
Wez Furlong
107dd67bf2
docs: changelog for #5393 2024-05-10 05:50:45 -07:00