Also turn on extended key reporting for CSI > 4; 2 m

This is supported by XTerm and used by vim. Fixes #4075
This commit is contained in:
Kovid Goyal
2021-09-29 11:12:01 +05:30
parent a3b434d2fe
commit a0cee13652
2 changed files with 6 additions and 4 deletions

View File

@@ -278,9 +278,11 @@ oldest entry from the stack must be evicted.
screen is and restore to that mode on exit.
.. note:: In the interests of interoperation, the XTerm specific sequences
`CSI > 4; 1 m` and `CSI > 4; 0 m` are treated as `CSI > 1 u` and `CSI < 1 u`.
These codes cause XTerm to use the CSI u encoding for more keys and are therefore
treated as similar to the disambiguate progressive enhancement.
``CSI > 4; x m` and `CSI > 4; 0 m` are treated as `CSI > 1 u` and `CSI < 1 u`.
Here `x` can be either `1` or `2`. These codes cause XTerm to use the CSI u
encoding for more keys and are therefore treated as similar to the disambiguate
progressive enhancement.
.. _disambiguate: