From a4a9d13ee062ec6917e6928421004779b0eefcf7 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 23 Jul 2024 23:21:27 +0530 Subject: [PATCH] Add a note on the best way to use the query escape code --- docs/desktop-notifications.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/desktop-notifications.rst b/docs/desktop-notifications.rst index 8ac18cc4a..3345fba4c 100644 --- a/docs/desktop-notifications.rst +++ b/docs/desktop-notifications.rst @@ -159,6 +159,12 @@ Key Value In the future, if this protocol expands, more keys might be added. Clients must ignore keys they dont understand in the query response. +To check if a terminal emulator supports this notifications protocol the best way is to +send the above *query action* followed by a request for the `primary device +attributes `_. If you get back an +answer for the device attributes without getting back an answer for the *query +action* the terminal emulator does not support this notifications protocol. + Specification of all keys used in the protocol --------------------------------------------------