Fix docs build error

This commit is contained in:
Kovid Goyal 2022-08-20 16:26:49 +05:30
parent 10fdde6647
commit 8d6a3cff25
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -53,9 +53,10 @@ kitty API to use with kittens
------------------------------- -------------------------------
Kittens have full access to internal kitty APIs. However these are neither Kittens have full access to internal kitty APIs. However these are neither
entirely stable nor documented. You can instead use the kitty :doc:`Remote entirely stable nor documented. You can instead use the kitty
control API </remote-control>`. Simply call :code:`boss.remote_control`, with :doc:`Remote control API </remote-control>`. Simply call
the same arguments you would pass to ``kitty @ ``. For example: :code:`boss.call_remote_control()`, with the same arguments you
would pass to ``kitty @``. For example:
.. code-block:: python .. code-block:: python
@ -63,7 +64,7 @@ the same arguments you would pass to ``kitty @ ``. For example:
# get the kitty window to which to send text # get the kitty window to which to send text
w = boss.window_id_map.get(target_window_id) w = boss.window_id_map.get(target_window_id)
if w is not None: if w is not None:
boss.call_remote_control(w, ('send-text', 'some text')) boss.call_remote_control(w, ('send-text', 'hello world'))