mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
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:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user