diff --git a/kitty/rc/send_text.py b/kitty/rc/send_text.py index a0455d271..96a3a468b 100644 --- a/kitty/rc/send_text.py +++ b/kitty/rc/send_text.py @@ -75,8 +75,9 @@ class SendText(RemoteCommand): desc = ( 'Send arbitrary text to specified windows. The text follows Python' ' escaping rules. So you can use :link:`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' + " like :code:`'\\\\x1b'` to send control codes" + " and :code:`'\\\\u21fa'` to send Unicode characters. Remember to use single-quotes otherwise" + ' the backslash is interpreted as a shell escape character. 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.' )