Add OSC 8 link support to filepath in headers#954
Conversation
|
Hmm, not sure why the test is failing. I updated the samples file, it has no changes when I run |
|
Yeah, unfortunately line numbers specification is not in the standard, so it depends on the terminal emulator and the OS. I will switch back to slightly less supported, but much more safe |
|
Testing in VS Code also seems to be looking for a file literally called |
Do you mean that links are clickable? |
Could you pull the latest changes? It works for me:
I meant to spell "are now clickable", sorry. |
|
Did you have a chance to test it? |

This PR adds OSC 8 support to difftastic. In practice, it means that links in hunk headers are now "clickable" inside some editors (Zed, VSCode, etc), and bring the user to the correct line in file.
Additional links: