From 958ccadc09bb4e4000094ec078c90361a96c087a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Mar 2021 11:12:45 +0530 Subject: [PATCH] Also detect gemini:// URLs when hovering with the mouse Fixes #3370 --- docs/changelog.rst | 2 ++ kitty/config_data.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 4d7484d94..44acf30d9 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -52,6 +52,8 @@ To update |kitty|, :doc:`follow the instructions `. - 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`) diff --git a/kitty/config_data.py b/kitty/config_data.py index aec8636d2..a73cf0089 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -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=_('''