This commit is contained in:
Kovid Goyal 2022-11-25 17:34:46 +05:30
commit ac60715ee2
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ line.
.. _include:
You can include secondary config files via the :code:`include` directive. If
You can include secondary config files via the :code:`include` directive. If
you use a relative path for :code:`include`, it is resolved with respect to the
location of the current config file. Note that environment variables are
expanded, so :code:`${USER}.conf` becomes :file:`name.conf` if

View File

@ -3969,7 +3969,7 @@ when pressing specified shortcut keys. For example::
This will send "Special text" when you press the :kbd:`Ctrl+Alt+A` key
combination. The text to be sent is a python string literal so you can use
escapes like :code:`\\x1b` to send control codes or :code:`\\u21fb` to send
escapes like :code:`\\\\x1b` to send control codes or :code:`\\\\u21fb` to send
Unicode characters (or you can just input the Unicode characters directly as
UTF-8 text). You can use ``kitty +kitten show_key`` to get the key escape
codes you want to emulate.

View File

@ -74,8 +74,8 @@ class SendText(RemoteCommand):
short_desc = 'Send arbitrary text to specified windows'
desc = (
'Send arbitrary text to specified windows. The text follows Python'
' escaping rules. So you can use escapes like :code:`\\x1b` to send control codes'
' and :code:`\\u21fa` to send unicode characters. If you use the :option:`kitty @ send-text --match` option'
' escaping rules. So you can use escapes like :code:`\\\\x1b` to send control codes'
' and :code:`\\\\u21fa` to send unicode characters. If you use the :option:`kitty @ send-text --match` option'
' the text will be sent to all matched windows. By default, text is sent to'
' only the currently active window.'
)