From ba281a3b10c6ca5159dac576a2bcdf580f7f08b6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 6 Oct 2024 19:17:45 +0530 Subject: [PATCH] Clarify behavior of underline_hyperlinks=always --- kitty/options/definition.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 5bf901692..338029491 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -521,7 +521,8 @@ opt('underline_hyperlinks', 'hover', choices=('hover', 'always', 'never'), ctype='underline_hyperlinks', long_text=''' Control how hyperlinks are underlined. They can either be underlined on mouse :code:`hover`, :code:`always` (i.e. permanently underlined) or :code:`never` which means -that kitty will not apply any underline styling to hyperlinks. +that kitty will not apply any underline styling to hyperlinks. Note that the value of :code:`always` +only applies to real (OSC 8) hyperlinks not text that is detected to be a URL on mouse hover. Uses the :opt:`url_style` and :opt:`url_color` settings for the underline style. Note that reloading the config and changing this value to/from :code:`always` will only affect text subsequently received by kitty.