Add a note about detecting partial keyboard protocol implementations

I believe there exists at least one such implementation in the wild, in
zellij. Sigh.
This commit is contained in:
Kovid Goyal
2025-03-03 05:23:15 +05:30
parent 60975067fb
commit a896518b54

View File

@@ -433,6 +433,13 @@ followed by request for the `primary device attributes
attributes is received without getting back an answer for the progressive
enhancement the terminal does not support this protocol.
.. note::
Terminal implementations of this protocol are **strongly** encouraged to
implement all progressive enhancements. It does not make sense to
implement only a subset. Nonetheless, there are likely to be some terminal
implementations that do not do so, applications can detect such
implementations by first setting the desired progressive enhancements and
then querying for the :ref:`current progressive enhancement <progressive_enhancement>`
Legacy key event encoding
--------------------------------