broadcast.rst 865 B

12345678910111213141516171819202122232425262728293031
  1. broadcast
  2. ==================================================
  3. .. only:: man
  4. Overview
  5. --------------
  6. *Type text in all kitty windows simultaneously*
  7. The ``broadcast`` kitten can be used to type text simultaneously in all
  8. :term:`kitty windows <window>` (or a subset as desired).
  9. To use it, simply create a mapping in :file:`kitty.conf` such as::
  10. map f1 launch --allow-remote-control kitty +kitten broadcast
  11. Then press the :kbd:`F1` key and whatever you type in the newly created window
  12. will be sent to all kitty windows.
  13. You can use the options described below to control which windows are selected.
  14. For example, only broadcast to other windows in the current tab::
  15. map f1 launch --allow-remote-control kitty +kitten broadcast --match-tab state:focused
  16. .. program:: kitty +kitten broadcast
  17. .. include:: /generated/cli-kitten-broadcast.rst