Commit Graph
7265 Commits
Author SHA1 Message Date
Wez Furlong 609b61ec82 docs: changelog for #3929 2023-07-03 10:47:41 -07:00
Omar Sandoval 7373a4990b Fix copy mode on Wayland
On Wayland, copy mode often doesn't actually update the clipboard.
Specifically, it only works one time after a pointer enter or pointer
button event, then doesn't work again until the next event.

This is because the Wayland protocol serial number in
CopyAndPaste::last_serial is only updated by pointer enter and pointer
button events. So, subsequent copies using only the keyboard reuse the
same serial number and get ignored. last_serial used to be updated for
keyboard events, too, but that was (accidentally?) dropped in commit
0a00ffe98b.

Commit 0a00ffe98b also added another
last_serial to WaylandConnection which is updated for keyboard events
but isn't used anywhere as far as I can tell.

So, to fix this bug, let's get rid of CopyAndPaste::last_serial and
replace it with WaylandConnection::last_serial, which is now updated for
pointer and keyboard events.

closes: #3843
2023-07-03 10:45:47 -07:00
Wez Furlong f376468f46 docs: changelog for #3683
closes: #3683
2023-06-29 08:02:00 -07:00
Wez Furlong 2334e679a9 launcher: add ctrl-j/k assignments
refs: #3909
2023-06-29 07:59:41 -07:00
Wez Furlong e61123c280 cargo update 2023-06-29 07:51:00 -07:00
Wez Furlong 9a24f61c22 docs: fix tls_domains -> tls_clients
refs: #3892
2023-06-22 21:26:23 -07:00
Wez Furlong f21dcb965e wezterm cli tlscreds: add --pem output mode
refs: #3892
2023-06-22 21:21:34 -07:00
Wez Furlong c1f495099e deps: fastrand -> 2.0 2023-06-19 10:44:21 -07:00
Wez Furlong 6b82c41a67 cargo update 2023-06-19 10:41:11 -07:00
Wez Furlong baf9d97081 cargo update 2023-06-12 06:39:53 -07:00
Wez Furlong 95e44f2199 Fix dbus value parsing issue by upgrading zbus/zvariant crate
Error message I've been seeing the past couple of days:

Unable to resolve appearance using xdg-desktop-portal: invalid value:
string "()", expected at least one field signature between `(` and `)`:
invalid value: string "()", expected at least one field signature
between `(` and `)`
2023-05-30 06:27:29 -07:00
Wez Furlong c6f4ff3626 deps: update regenerate.sh scripts for newer bindgen cli
No functional change, just updating for changes in more
recent versions of bindgen.
2023-05-29 21:22:59 -07:00
Wez Furlong 2aba1dee2b docs: changelog for #3679 2023-05-29 21:18:54 -07:00
Wez Furlong f4b82c583c fix libssh booboo 2023-05-29 21:18:02 -07:00
Wez Furlong 6763cccfeb cargo update: yanked libssh update 2023-05-29 20:53:58 -07:00
Wez Furlong fe2a1c37e8 cargo update 2023-05-29 19:49:00 -07:00
Wez Furlong 62c40118dd mux: more consistently set WEZTERM_UNIX_SOCKET in localdomain
When spawning, ensure that we set WEZTERM_UNIX_SOCKET to our
current value to match the PANE that we export.

refs: #3679
2023-05-29 19:29:46 -07:00
Wez Furlong 794a102b6a deps: harfbuzz -> 7.3.0 2023-05-29 16:37:24 -07:00
Wez Furlong c54548df7e Fix ClearToEndOfLine in last column when wrap_next=true
Given a sequence like this, where the `ESC [ K` sequence is
emitted at the last column when wrap_next=true:

\u001b[47;30m  17:24:50 \u001b[0m\u001b[K

rather than treating the column as out of bounds, we'd clear the
final cell.

refs: #3548
2023-05-29 16:01:11 -07:00
Wez Furlong c1147720bc remove old paste chunking logic
I believe that this was obsoleted long ago by the ThreadedWriter
logic that is present in the terminal implementation so we no
longer need to limit the write chunk size.

refs: #3683
2023-05-29 15:10:57 -07:00
Wez Furlong e0a4ebd586 implicitly reset palette when setting it to the equivalent of the config
refs: #3685
2023-05-29 14:46:43 -07:00
Wez Furlong 853fb00302 even more fallout from Nerd Font symbols breaking changes in 3.0 2023-05-29 14:15:00 -07:00
Wez Furlong f5173c48a7 fonts: micro optimize by caching size calcs
Don't ask harfbuzz to recompute on every shaper call, just those
where the size has changed.
2023-05-29 10:36:59 -07:00
Wez Furlong 3ab286bc68 docs: changelog for #3531 2023-05-29 07:08:58 -07:00
Wez Furlong 7e2b7ca84d deps: update tiny-skia
closes: https://github.com/wez/wezterm/pull/3794
2023-05-28 20:18:00 -07:00
Wez Furlong 71819b4abc more fallout from Nerd Font symbols breaking changes in 3.0 2023-05-28 20:08:21 -07:00
Wez Furlong 0486f77853 cargo update 2023-05-28 19:33:22 -07:00
Wez Furlong eabdf9cf1c docs: changelog for #3767 2023-05-28 09:19:23 -07:00
Carsten Kragelund 780ae67c71 fix(plugin): drop Repository, so that renaming succeeds on Windows 2023-05-28 09:18:42 -07:00
Wez Furlong cf3bc814ba docs: changelog for #3703 2023-05-28 09:03:16 -07:00
Wez Furlong f0b58ea083 Apply suggestions from code review 2023-05-28 09:01:22 -07:00
Ye Sijun 95ab807aab add color config for char select
Signed-off-by: Ye Sijun <junnplus@gmail.com>
2023-05-28 09:01:22 -07:00
Wez Furlong 30ef02ff56 docs: add docs for anti_alias_custom_block_glyphs
refs: #3788
refs: #1817
refs: #1753
2023-05-28 08:44:54 -07:00
Wez Furlong 05a2d63398 ci: remove alpine
per discussion on https://github.com/wez/wezterm/pull/3089 we don't
need to build for alpine any longer.
2023-05-27 14:10:07 -07:00
Wez Furlong 9b31092e1d fix fallback scaling for background images
We weren't redrawing the background image with the scale factor
that we'd computed when noticing that we had run out of texture space.

refs: #3773
2023-05-27 14:06:18 -07:00
David O'Trakoun 13c0ba3776 fix docs - pane:split takes Top/Bottom 2023-05-27 09:50:03 -07:00
Chip Senkbeil f88f1aa58a Fix sftp::FilePermissions::is_readonly to properly report readonly status 2023-05-27 09:46:36 -07:00
Wez Furlong 856c1ae371 docs: ssh: mention IdentityAgent
refs: https://github.com/wez/wezterm/issues/3775
2023-05-26 13:30:07 -07:00
Lorenzo Zabot 1cd340bbd2 docs: fix typo 2023-05-24 06:20:11 -07:00
eduardo apolinario bb23d0463c Fix typo: psuedo -> pseudo
Signed-off-by: eduardo apolinario <eapolinario@users.noreply.github.com>
2023-05-22 11:59:55 -07:00
Jacob Rodgers fce2caae82 docs: leader key bypass example 2023-05-22 09:00:18 -07:00
Christopher James Halse RogersandWez Furlong a8c2aea3b4 env: Strip unwanted Snap variables from environment (#3738)
Co-authored-by: Wez Furlong <wez@wezfurlong.org>
2023-05-22 06:39:03 -07:00
Wez Furlong acbe7f5a80 cargo update 2023-05-22 06:37:01 -07:00
Wez Furlong 6b21e6ffde fixup tests for symbols font changes 2023-05-21 10:07:07 -07:00
Wez Furlong 098e0e0201 fix CopyMode(EditPattern) not activating search_mode key table
refs: #3746
2023-05-21 10:04:56 -07:00
Wez Furlong e4b96bd9bb update Symbols Nerd Font Mono to v3.0.1 2023-05-21 09:34:10 -07:00
cairijun 2428282b42 fix encoding Tab with modifiers 2023-05-20 20:04:46 -07:00
Wez Furlong 281e0e1737 windows: fix overlay/modal shortcuts
Arrow keys have ENHANCED_KEY set in the mods, and shifted keys had
positional mods in things like quickselect.

Strip them out.

I think I got all the cases, but it's possible that one slipped
through.

refs: https://github.com/wez/wezterm/issues/3617
2023-05-20 20:00:24 -07:00
Wez Furlong e41c4405c7 palette: avoid spurious warning when opening command palette
If you haven't registered an augment-command-palette event,
you'd see:

```
16:29:02.641 WARN wezterm_gui::termwindow::palette >
augment-command-palette: error converting Lua nil to Rust Type (Cannot
convert `Null` to `Vec`)
```

refs: https://github.com/wez/wezterm/issues/3595
2023-05-20 19:54:24 -07:00
Wez Furlong 43a8b442e3 Update conpty to rev 0ee2c74cd432eda153f3f3e77588164cde95044f
I want to try out the FTCS flush and any other conpty fixes that may
have been made since our last update.

refs: https://github.com/microsoft/terminal/issues/13710

These other issues may experience improved results, but likely not:

refs: https://github.com/wez/wezterm/issues/3748
refs: https://github.com/wez/wezterm/issues/3624
refs: https://github.com/wez/wezterm/issues/2779
refs: https://github.com/wez/wezterm/issues/2902
refs: https://github.com/wez/wezterm/issues/3531
refs: https://github.com/wez/wezterm/issues/3562
2023-05-20 19:44:25 -07:00