diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-04-27 07:38:55 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-04-27 07:38:55 +0000 |
| commit | a3debf7741d20826bdc6ab786f4ccf0ef7358619 (patch) | |
| tree | a138d1cb23448290ddd8a8110e54eb017bc63b1b /CHANGELOG.md | |
| parent | dcs: XTGETTCAP: handle empty request (diff) | |
dcs: xtgettcap: always reply with tigetstr(3) formatted "strings"
That is, instead of sometimes replying with a "source" encoded
string (where e.g. '\E' are returned just like that, and not as an
actual ESC), always unescape all string values.
This also includes \n \r \t \b \f \s, \^ \\ \ \:, as well as ^x-styled
escapes.
Closes #1701
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d7cd49b..10ec7463 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,21 @@ ## Unreleased ### Added ### Changed + +* All `XTGETTCAP` capabilities are now in the `tigetstr()` format: + + - parameterized string capabilities were previously "source + encoded", meaning e.g. `\E` where not "decoded" into `\x1b`. + - Control characters were also "source encoded", meaning they were + returned as e.g. "^G" instead of `\x07` ([#1701][1701]). + + In other words, if, after this change, `XTGETTCAP` returns a string + that is different compared to `tigetstr()`, then it is likely a bug + in foot's implementation of `XTGETTCAP`. + +[1701]: https://codeberg.org/dnkl/foot/issues/1701 + + ### Deprecated ### Removed ### Fixed |
