Keyboard protocol: Fix the Enter Tab and Backspace keys generating spurious release events even when report all keys as escape codes is not set

Fixes #7136
This commit is contained in:
Kovid Goyal
2024-02-18 11:12:24 +05:30
parent d35f391725
commit b2391553f9
4 changed files with 21 additions and 3 deletions

View File

@@ -348,6 +348,13 @@ and key release events. Normally only key press events are reported and key
repeat events are treated as key press events. See :ref:`event_types` for
details on how these are reported.
.. note::
The :kbd:`Enter`, :kbd:`Tab` and :kbd:`Backspace` keys will not have release
events unless :ref:`report_all_keys` is also set, so that the user can still
type reset at a shell prompt when a program that sets this mode ends without
resetting it.
.. _report_alternates:
Report alternate keys