csi: implement private modes 2034 + 2038

2034 enables window resize notifications, with the notifications being
in pixels.

2038 does the same, but in characters instead of pixels.

See
https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83
for specification
This commit is contained in:
Daniel Eklöf 2024-06-28 18:38:03 +02:00
parent cbe399ecd9
commit 774c60602b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 119 additions and 30 deletions

View file

@ -61,6 +61,8 @@
will now utilize the new single-pixel buffer protocol. This mainly
reduces the memory usage, but should also be slightly faster.
* Support for high-res mouse wheel scroll events ([#1738][1738]).
* Support for private modes 2034 and 2038 ([in-band window resize
notifications](https://gist.github.com/rockorager/e695fb2924d36b2bcf1fff4a3704bd83)).
[1707]: https://codeberg.org/dnkl/foot/issues/1707
[1738]: https://codeberg.org/dnkl/foot/issues/1738