A new watcher option for kitty.conf that replaces the old --watcher cli flag

Applies to all windows, not just initial ones.
This commit is contained in:
Kovid Goyal
2021-09-29 14:01:30 +05:30
parent 7a16ef2cc4
commit 166ea9deb9
11 changed files with 86 additions and 34 deletions

View File

@@ -18,6 +18,11 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
- Allow the user to supply a custom Python function to draw tab bar. See
:opt:`tab_bar_style`
- **Backward incompatibility**: The command line option ``--watcher`` has been
removed in favor of the :opt:`watcher` option in :file:`kitty.conf`. It can be set
from the command line as: ``kitty -o watcher=/path/to/watcher``. It has the
advantage of applying to all windows, not just the initially created ones.
- Add support for reporting mouse events with pixel co-ordinates using the
``SGR_PIXEL_PROTOCOL`` introduced in xterm 359

View File

@@ -89,6 +89,8 @@ For example::
map f1 launch my-program @active-kitty-window-id
.. _watchers:
Watching launched windows
---------------------------