]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_cb_hdr: Turn the Location: into a terminal hyperlink
authorDan Fandrich <dan@coneharvesters.com>
Fri, 5 Nov 2021 05:02:05 +0000 (22:02 -0700)
committerDan Fandrich <dan@telarity.com>
Sat, 12 Mar 2022 01:25:35 +0000 (17:25 -0800)
commit3055c4c814e5ea5dfebe41bd827456c8ade12958
tree2a44062662853321aab75fea883afe9766439535
parent68b356a1b47e201881c61bd4abfacf9a53a4534f
tool_cb_hdr: Turn the Location: into a terminal hyperlink

This turns even relative URLs into clickable hyperlinks in a supported
terminal when --styled-output is enabled. Many terminals already turn
URLs into clickable links but there is not enough information in a
relative URL to do this automatically otherwise.
src/tool_cb_hdr.c