Wez Furlong 026b9e3577 fix hyperlink underlines
There were two problems:

* We weren't correctly invalidating when the hover state changed
  (a recent regression caused by recent caching changes)
* We'd underline every link with the same destination on hover,
  not just the one under the mouse (longstanding wart)

Recent changes allow the application layer to reference the underlying
Lines directly, so we can restore the original and expected
only-highlight-under-the-mouse by switching to those newer APIs.

Adjust the cache values so that we know to also verify the current
highlight and invalidate.

I was a little surprised to see that this also works with mux client
panes: I was expecting to need to do some follow up on those because
they return copies of Line rather than references to them. That happens
to work because the mux client updates the hyperlinks at the time where
it inserts into its cache. The effect of that is that lines in mux
client panes won't update to new hyperlink rules if they were received
prior to a change in the config.

refs: https://github.com/wez/wezterm/issues/2496
2022-09-07 07:51:28 -07:00
2022-09-01 08:39:11 -07:00
2019-06-08 21:28:11 -07:00
2022-05-21 21:09:11 -07:00
2022-08-30 09:43:32 -07:00
2022-09-06 08:58:09 -07:00
2022-09-03 08:20:53 -07:00
2022-09-07 07:51:28 -07:00
2022-08-17 07:19:12 -07:00
2022-08-21 08:51:16 -07:00
2022-09-07 07:51:28 -07:00
2022-08-17 07:19:12 -07:00
2022-09-07 07:51:28 -07:00
2022-09-03 08:34:19 -07:00
2022-08-17 07:19:12 -07:00
2022-09-01 21:27:49 -07:00
2022-08-17 07:19:12 -07:00
2022-09-07 07:51:28 -07:00
2022-08-21 08:51:16 -07:00
2021-02-03 21:56:30 -08:00
2022-09-05 07:36:58 -07:00
2022-08-21 08:51:16 -07:00
2022-07-29 13:18:53 -07:00
2022-01-16 16:04:35 -07:00
2022-06-16 12:45:35 -07:00

Wez's Terminal

WezTerm Icon A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust

User facing docs and guide at: https://wezfurlong.org/wezterm/

Screenshot

Screenshot of wezterm on macOS, running vim

Installation

https://wezfurlong.org/wezterm/installation.html

Getting help

This is a spare time project, so please bear with me. There are a couple of channels for support:

  • You can use the GitHub issue tracker to see if someone else has a similar issue, or to file a new one.
  • Start or join a thread in our GitHub Discussions; if you have general questions or want to chat with other wezterm users, you're welcome here!
  • There is a Matrix room via Element.io for (potentially!) real time discussions.

The GitHub Discussions and Element/Gitter rooms are better suited for questions than bug reports, but don't be afraid to use whichever you are most comfortable using and we'll work it out.

Supporting the Project

If you use and like WezTerm, please consider sponsoring it: your support helps to cover the fees required to maintain the project and to validate the time spent working on it!

Sponsor WezTerm

S
Description
The agentic terminal: a WezTerm fork with LLeMbas built in
Readme MIT
316 MiB
0 Stars 2 Watchers 0 Forks
Languages
Rust 97.7%
Python 1%
Shell 0.9%
Nix 0.2%