Turn off hyperlink target display by default

I find it too intrusive for limited benefit. Most the hyperlinks I
click come from trusted programs anyway.
This commit is contained in:
Kovid Goyal 2023-01-05 15:30:43 +05:30
parent 49418c2f53
commit aab81c2d32
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 3 additions and 3 deletions

View File

@ -47,7 +47,7 @@ Detailed list of changes
- Speed up the ``kitty @`` executable by ~10x reducing the time for typical
remote control commands from ~50ms to ~5ms
- Show the target of terminal hyperlinks when hovering over them with the mouse controlled by :opt:`show_hyperlink_targets` (:pull:`5830`)
- Option :opt:`show_hyperlink_targets` to show the target of terminal hyperlinks when hovering over them with the mouse (:pull:`5830`)
- Keyboard protocol: Remove ``CSI R`` from the allowed encodings of the :kbd:`F3` key as it conflicts with the *Cursor Position Report* escape code (:disc:`5813`)

View File

@ -432,7 +432,7 @@
'''
)
opt('show_hyperlink_targets', 'yes', option_type='to_bool', ctype='bool', long_text='''
opt('show_hyperlink_targets', 'no', option_type='to_bool', ctype='bool', long_text='''
When the mouse hovers over a terminal hyperlink, show the actual URL that will be
activated when the hyperlink is clicked.''')

View File

@ -569,7 +569,7 @@ class Options:
selection_foreground: typing.Optional[kitty.fast_data_types.Color] = Color(0, 0, 0)
shell: str = '.'
shell_integration: typing.FrozenSet[str] = frozenset({'enabled'})
show_hyperlink_targets: bool = True
show_hyperlink_targets: bool = False
single_window_margin_width: FloatEdges = FloatEdges(left=-1.0, top=-1.0, right=-1.0, bottom=-1.0)
startup_session: typing.Optional[str] = None
strip_trailing_spaces: choices_for_strip_trailing_spaces = 'never'