From f88a4fe9864b5fa63c463d103b36cea95804c950 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 18 Apr 2022 11:13:16 +0530 Subject: [PATCH] ... --- kitty/options/definition.py | 8 ++++---- kitty/options/types.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index e2d5c2e6e..4124f8730 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -3772,10 +3772,10 @@ UTF-8 text). You can use the show_key kitten :code:`kitty +kitten show_key` to get the key escape codes you want to emulate. The first argument to :code:`send_text` is the keyboard modes in which to activate the shortcut. The possible values are :code:`normal` or :code:`application` or :code:`kitty` or a -comma separated combination of them. The special keyword :code:`all` means all +comma separated combination of them. The special keyword :code:`all` means all modes. The modes :code:`normal` and :code:`application` refer to the DECCKM -cursor key mode forterminals, and :code:`kitty` refers to the special kitty -extended keyboard protocol. +cursor key mode for terminals, and :code:`kitty` refers to the kitty extended +keyboard protocol. Some more examples:: @@ -3783,7 +3783,7 @@ Some more examples:: map ctrl+alt+a send_text normal Word\\x1b[H map ctrl+alt+a send_text application Word\\x1bOH # Run a command at a shell prompt (like typing the command and pressing Enter) - map ctrl+alt+a send_text normal,application some command with arguments\r + map ctrl+alt+a send_text normal,application some command with arguments\\r ''' ) egr() # }}} diff --git a/kitty/options/types.py b/kitty/options/types.py index 273c7244a..eb57eaa32 100644 --- a/kitty/options/types.py +++ b/kitty/options/types.py @@ -485,7 +485,7 @@ class Options: click_interval: float = -1.0 clipboard_control: typing.Tuple[str, ...] = ('write-clipboard', 'write-primary', 'read-clipboard-ask', 'read-primary-ask') clipboard_max_size: float = 64.0 - clone_source_strategies: typing.FrozenSet[str] = frozenset({'venv', 'env_var', 'conda', 'path'}) + clone_source_strategies: typing.FrozenSet[str] = frozenset({'conda', 'env_var', 'venv', 'path'}) close_on_child_death: bool = False command_on_bell: typing.List[str] = ['none'] confirm_os_window_close: int = -1