mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
...
This commit is contained in:
@@ -2774,7 +2774,7 @@ pager, etc. on supported shells. Set to ``disabled`` to turn off shell
|
|||||||
integration, completely. See :ref:`shell_integration` for details.
|
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
|
Control whether programs running in the terminal can request new
|
||||||
windows to be created. The canonical example is :code:`clone-in-kitty`.
|
windows to be created. The canonical example is :code:`clone-in-kitty`.
|
||||||
By default, kitty will ask for permission for each clone request.
|
By default, kitty will ask for permission for each clone request.
|
||||||
|
|||||||
@@ -1022,7 +1022,7 @@ class Window:
|
|||||||
' Allow it do so, once?'),
|
' Allow it do so, once?'),
|
||||||
partial(self.handle_remote_clone_confirmation, cdata), window=self,
|
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.handle_remote_clone_confirmation(cdata, True)
|
||||||
self.current_clone_data = ''
|
self.current_clone_data = ''
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user