...
This commit is contained in:
parent
34c18bacd8
commit
4372cf2893
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user