csi: in-band window resize notifications, private mode 2048

This implements
https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83,
in-band window resize notifications.

When user enables private mode 2048 (in-band resize
notifications), *always* send current size, even if the mode is
already active.

This ensures applications can rely on getting a reply from the
terminal.
This commit is contained in:
Daniel Eklöf 2024-06-30 19:44:17 +02:00
parent e11a4ab6af
commit 38461eef6f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 60 additions and 0 deletions

View file

@ -337,6 +337,9 @@ that corresponds to one of the following modes:
| 2027
: contour
: Grapheme cluster processing
| 2048
: TODO
: In-band window resize notifications
| 8452
: xterm
: Position cursor to the right of sixels, instead of on the next line