aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils.vala (unfollow)
Commit message (Collapse)AuthorLines
2023-08-27Fully support gopher:// and rtmp://Juhani Krekelä-1/+5
Currently these protocols are supported for recognition of links in text, but not for correctly normalizing them in OSC 8 links. Handle them for OSC 8 links too.
2021-06-19Mark env_shell as unownedWolfgang Müller-2/+2
The Environment.get_variable() method returns an unowned value. Make sure to mark it as such in our code. Whilst we're here, add a missing space to the subsequent if branch.
2020-04-13Move get_shell to utils.valaWynn Wolf Arbor-0/+14
There was no VTE-related functionality in this method, so we can find a better place for it now that a dedicated utility class exists.
2020-04-13Add OSC 8 hyperlink supportWynn Wolf Arbor-0/+27
This commit adds support for the OSC 8 hyperlink escape sequence [1]. As this is not a mature feature and there seem to be outstanding security concerns [2], the setting that controls whether or not OSC 8 is interpreted is disabled by default. Just like gnome-terminal, weltschmerz will display a tooltip with the canonicalized URI when hovering over a hyperlink. [1] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda [2] https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda#security