mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 19:47:21 +03:00
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
|
||||
entirely stable nor documented. You can instead use the kitty :doc:`Remote
|
||||
control API </remote-control>`. Simply call :code:`boss.remote_control`, with
|
||||
the same arguments you would pass to ``kitty @ ``. For example:
|
||||
entirely stable nor documented. You can instead use the kitty
|
||||
:doc:`Remote control API </remote-control>`. Simply call
|
||||
:code:`boss.call_remote_control()`, with the same arguments you
|
||||
would pass to ``kitty @``. For example:
|
||||
|
||||
.. 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
|
||||
w = boss.window_id_map.get(target_window_id)
|
||||
if w is not None:
|
||||
boss.call_remote_control(w, ('send-text', 'some text'))
|
||||
boss.call_remote_control(w, ('send-text', 'hello world'))
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user