Fix docs build error
This commit is contained in:
parent
10fdde6647
commit
8d6a3cff25
@ -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'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user