diff --git a/docs/kittens/broadcast.rst b/docs/kittens/broadcast.rst index e3127f607..f5cc2a2f8 100644 --- a/docs/kittens/broadcast.rst +++ b/docs/kittens/broadcast.rst @@ -17,7 +17,7 @@ You can use the options described below to control which windows are selected. For example, only broadcast to other windows in the current tab:: - map f1 launch --allow-remote-control kitty +kitten broadcast --match state:parent_active + map f1 launch --allow-remote-control kitty +kitten broadcast --match-tab state:focused .. program:: kitty +kitten broadcast diff --git a/kittens/clipboard/main.py b/kittens/clipboard/main.py index be694800e..7e4c09c7e 100644 --- a/kittens/clipboard/main.py +++ b/kittens/clipboard/main.py @@ -57,7 +57,7 @@ OPTIONS = r''' default=False type=bool-set Output the current contents of the clipboard to STDOUT. Note that by default -kitty will prompt you asking to allow access to the clipboard. Can be controlled +kitty will prompt for permission to access the clipboard. Can be controlled by :opt:`clipboard_control`. diff --git a/kittens/diff/options/definition.py b/kittens/diff/options/definition.py index 5d4213a90..3b8529fc6 100644 --- a/kittens/diff/options/definition.py +++ b/kittens/diff/options/definition.py @@ -37,8 +37,9 @@ opt('num_context_lines', '3', opt('diff_cmd', 'auto', long_text=''' The diff command to use. Must contain the placeholder :code:`_CONTEXT_` which -will be replaced by the number of lines of context. The default is to search the -system for either :program:`git` or :program:`diff` and use that, if found. +will be replaced by the number of lines of context. The default special value +:code:`auto` is to search the system for either :program:`git` or +:program:`diff` and use that, if found. ''' ) diff --git a/kittens/query_terminal/main.py b/kittens/query_terminal/main.py index c74cc38b7..3c4fb33e7 100644 --- a/kittens/query_terminal/main.py +++ b/kittens/query_terminal/main.py @@ -86,7 +86,7 @@ class TerminalVersion(Query): @query class AllowHyperlinks(Query): name: str = 'allow_hyperlinks' - help_text: str = 'The :opt:`setting ` for allowing hyperlinks can be :code:`yes`, :code:`no` or :code:`ask`' + help_text: str = 'The config option :opt:`allow_hyperlinks` in :file:`kitty.conf` for allowing hyperlinks can be :code:`yes`, :code:`no` or :code:`ask`' @staticmethod def get_result(opts: Options) -> str: @@ -208,10 +208,10 @@ the :code:`--wait-for` option. The output is lines of the form:: - :italic:`query`: :italic:`data` + query: data -If a particular query is unsupported by the running kitty version, the data will -be blank. +If a particular :italic:`query` is unsupported by the running kitty version, the +:italic:`data` will be blank. Note that when calling this from another program, be very careful not to perform any I/O on the terminal device until thos kitten exits.