From c6acfa2cd432d8e7a283ddd0e7dcc425feeb2d87 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 3 Mar 2024 09:12:54 +0530 Subject: [PATCH] Add a note to clarify lock key handling in disambiguate mode --- docs/keyboard-protocol.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/keyboard-protocol.rst b/docs/keyboard-protocol.rst index 2d5f0e939..638621fb5 100644 --- a/docs/keyboard-protocol.rst +++ b/docs/keyboard-protocol.rst @@ -338,7 +338,9 @@ much easier to integrate into the application event loop. The only exceptions are the :kbd:`Enter`, :kbd:`Tab` and :kbd:`Backspace` keys which still generate the same bytes as in legacy mode this is to allow the user to type and execute commands in the shell such as ``reset`` after a program that sets this mode crashes -without clearing it. +without clearing it. Note that the Lock modifiers are not reported for text +producing keys, to keep them useable in legacy programs. To get lock modifiers +for all keys use the :ref:`report_all_keys` enhancement. .. _report_events: