csi: reply with 4 instead of 2 for DECRQM queries of unsupported modes

The status value 4 means "permanently reset", as opposed to 2, which
means "reset". The former implies that there's no way to enable the
mode because it's unsupported (but recognized).

Note: this commit also fixes an unrelated typo in CHANGELOG.md.
This commit is contained in:
Craig Barnes 2022-09-17 07:17:12 +01:00 committed by Daniel Eklöf
parent 8dcfa259a2
commit 46f6bad728
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 61 additions and 44 deletions

View file

@ -56,7 +56,10 @@
variant of the Solarized dark theme.
* Default `pad` from 2x2 to 0x0 (i.e. no padding at all).
* Current working directory (as set by OSC-7) is now passed to the
program executed by the `pipe-*` key bindings ([#1166][166]).
program executed by the `pipe-*` key bindings ([#1166][1166]).
* `DECRPM` replies (to `DECRQM` queries) now report a value of `4`
("permanently reset") instead of `2` ("reset") for DEC private
modes that are known but unsupported.
[1166]: https://codeberg.org/dnkl/foot/issues/1166
@ -73,6 +76,8 @@
### Security
### Contributors
* Craig Barnes
## 1.13.1