Skip to content

Support OSC8 hyperlinks #499

@dandavison

Description

@dandavison

Hi, thanks for skim! This feature request is analogous to junegunn/fzf#2557 and junegunn/fzf#2165. I'd like to be able to use OSC8 hyperlinks with skim, but I believe they are stripped out currently. My personal use case was going to be displaying strings with hyperlinks in the preview window. Here's an attempt at demonstrating the bug:

echo hello | sk --ansi --preview "bash -c \"printf '\e]8;;http://example.com\e\\This is a link\e]8;;\e\\\n'\""

Fwiw, I notice that skim uses the vte state machine parser, which is what delta does also. In case it's useful, here is where delta handles OSC sequences in the vte::Perform trait.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions