diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 80a1b3d72..bcc03a31e 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -2774,7 +2774,7 @@ pager, etc. on supported shells. Set to ``disabled`` to turn off shell integration, completely. See :ref:`shell_integration` for details. ''') -opt('allow_cloning', 'ask', choices=('yes', 'no', 'ask'), long_text=''' +opt('allow_cloning', 'ask', choices=('yes', 'y', 'true', 'no', 'n', 'false', 'ask'), long_text=''' Control whether programs running in the terminal can request new windows to be created. The canonical example is :code:`clone-in-kitty`. By default, kitty will ask for permission for each clone request. diff --git a/kitty/window.py b/kitty/window.py index ae1aecfef..2ea964dc7 100644 --- a/kitty/window.py +++ b/kitty/window.py @@ -1022,7 +1022,7 @@ class Window: ' Allow it do so, once?'), partial(self.handle_remote_clone_confirmation, cdata), window=self, ) - elif ac == 'yes': + elif ac in ('yes', 'y', 'true'): self.handle_remote_clone_confirmation(cdata, True) self.current_clone_data = '' return