terminal/src/cascadia/TerminalCore
Dustin L. Howett df7c3ccc3b
Hash the URI as part of the hyperlink ID (#7940)
It turns out that we missed part of the OSC 8 spec which indicated that
_hyperlinks with the same ID but different URIs are logically distinct._

> Character cells that have the same target URI and the same nonempty id
> are always underlined together on mouseover.
> The same id is only used for connecting character cells whose URIs is
> also the same. Character cells pointing to different URIs should never
> be underlined together when hovering over.

This pull request fixes that oversight by appending the (hashed) URI to
the generated ID.

When Terminal receives one of these links over ConPTY, it will hash the
URL a second time and therefore append a second hashed ID. This is taken
as an acceptable cost.

Fixes #7698
2020-10-16 22:08:59 +00:00
..
lib Enable partial rebuilds of the TerminalControl project again (#7248) 2020-08-11 16:56:58 -07:00
ControlKeyStates.hpp Manually pass mouse wheel messages to TermControls (#5131) 2020-04-01 16:58:16 +00:00
ICoreSettings.idl Introduce KeyMapping and Move TerminalSettings construction (#7537) 2020-09-14 20:38:56 +00:00
ITerminalApi.hpp Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
ITerminalInput.hpp Pass mouse button state into HandleMouse instead of asking win32 (#6765) 2020-08-07 16:21:09 -07:00
packages.config deps: upgrade CppWinRT to 2.0.200316.3, gsl to v2.1.0 (#4536) 2020-03-23 17:15:24 +00:00
pch.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
pch.h Add support for per-profile tab colors (#7162) 2020-08-07 16:07:42 -07:00
Terminal.cpp Add support for more OSC color formats (#7578) 2020-10-14 17:29:10 -07:00
Terminal.hpp Add support for the BEL control in Windows Terminal (#7679) 2020-09-30 18:00:06 -07:00
TerminalApi.cpp Hash the URI as part of the hyperlink ID (#7940) 2020-10-16 22:08:59 +00:00
terminalcore-common.vcxitems Unify and clean up the common build properties (#3429) 2019-11-05 14:29:11 -08:00
TerminalDispatch.cpp Refactor VT parameter handling (#7799) 2020-10-15 16:12:52 +00:00
TerminalDispatch.hpp Refactor VT parameter handling (#7799) 2020-10-15 16:12:52 +00:00
TerminalDispatchGraphics.cpp Refactor VT parameter handling (#7799) 2020-10-15 16:12:52 +00:00
terminalrenderdata.cpp Add support for the "blink" graphic rendition attribute (#7490) 2020-09-21 23:21:33 +00:00
TerminalSelection.cpp Refactor the renderer color calculations (#6853) 2020-07-10 22:26:34 +00:00