Also detect gemini:// URLs when hovering with the mouse

Fixes #3370
This commit is contained in:
Kovid Goyal 2021-03-06 11:12:45 +05:30
parent c48a42bec5
commit 958ccadc09
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,8 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- macOS: Add menu items to close the OS window and the current tab (:pull:`3240`, :iss:`3246`)
- Also detect ``gemini://`` URLs when hovering with the mouse (:iss:`3370`)
- When using a non-US keyboard layout and pressing :kbd:`ctrl+key` when
the key matches an English key, send that to the program running in the
terminal automatically (:iss:`2000`)

View File

@ -566,7 +566,7 @@ def url_prefixes(x: str) -> Tuple[str, ...]:
return tuple(a.lower() for a in x.replace(',', ' ').split())
o('url_prefixes', 'http https file ftp', option_type=url_prefixes, long_text=_('''
o('url_prefixes', 'http https file ftp gemini', option_type=url_prefixes, long_text=_('''
The set of URL prefixes to look for when detecting a URL under the mouse cursor.'''))
o('detect_urls', True, long_text=_('''