diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-10-09 16:53:00 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-10-11 17:26:25 +0000 |
| commit | 5477ee88948166f76c9ac69bc28bf8af8d8bd869 (patch) | |
| tree | 8a2ed860901b3f95c34b38a85527e92cfb49e364 | |
| parent | readme: clearer descriptions of secondary and tertiary DA responses (diff) | |
csi: only respond to Primary DA when Ps == 0
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | csi.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b972b6b..2ab0f56e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ (https://codeberg.org/dnkl/foot/issues/151). * Crash after either resizing a window or changing the font size if there were sixels present in the scrollback while doing so. +* _Send Device Attributes_ to only send a response if `Ps == 0`. ### Security @@ -653,6 +653,11 @@ csi_dispatch(struct terminal *term, uint8_t final) break; case 'c': { + if (vt_param_get(term, 0, 0) != 0) { + UNHANDLED(); + break; + } + /* Send Device Attributes (Primary DA) */ /* |
