Feature Request: Escape code for HTML-like anchor tags.
- iTerm2 version: Build 3.0.8
- OS version: Yosemite 10.10.5
I'd love to be able to accomplish the same sort of thing that I can with this html:
Bug <a href="http://example.com/1234">1234</a>
I don't recall ever seeing anything like this in vt escape codes (even extensions to them), but I'd think it would work something like this:
ESC ] 1337 ; href = SOME_URL ^G SOME_TEXT ESC ] 1337; endhref ^G
This would be displayed as
Bug 1234 but with the 1234 underlined. (Or I guess styling can be done separately for the the href text.) The right click menu would show the actual destination; the command click would open it like any other semantic history.
This would help me write a tool that greps logs because it could linkify things it found without making the log line really long containing hrefs. Even a shortened url contains a lot more chars than a bug number.