The OSC parser splits the whole sequence on `;`, so a hyperlink whose
URI contains a `;` (for example `data:text/plain;base64,...` or a URL
with `;` in its path or query) arrived with more than three parameters
and was rejected.
The link was then dropped and the OSC was tracked as Unspecified.
`;` is a valid URI character, so treat everything after the params as
the URI.
Avoid creating a `&[u8]` reference over Windows _shared_ memory.
Instead, copy the mapped data directly with `ptr::copy_nonoverlapping`,
preventing aliasing violations.
refs: #8051
refs: #6769closes: #6779
The tmux output may split into multiple parts, if this spliting happens
in the middle of multiple bytes UTF8 characters, then the issue raised.
That the first part will have incomplete UTF8 character while the second
part will have a invalid UTF8 character.
In this case, we have to treat the output text as bytes rather than
UTF8 string.
This fix unvis the output text and send to pane as bytes.
This commit makes a number of parts of wezterm's core
parsing functionality no_std compatible, but requiring alloc.
In the no_std environment, several lookup tables that would
normally have been used to accelerate some operations are
not available and we instead fall back to an O(n) operation.