Skip to content

Commit 84b03e9

Browse files
committed
...
1 parent 55597dc commit 84b03e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/kittens/custom.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ your machine).
2121
.. code-block:: python
2222
2323
from typing import List
24+
from kitty.boss import Boss
2425
2526
def main(args: List[str]) -> str:
2627
# this is the main entry point of the kitten, it will be executed in
@@ -30,7 +31,7 @@ your machine).
3031
# handle_result() function
3132
return answer
3233
33-
def handle_result(args: List[str], answer: str, target_window_id: int, boss: kitty.boss.Boss) -> None:
34+
def handle_result(args: List[str], answer: str, target_window_id: int, boss: Boss) -> None:
3435
# get the kitty window into which to paste answer
3536
w = boss.window_id_map.get(target_window_id)
3637
if w is not None:

0 commit comments

Comments
 (0)