mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
csi: only respond to Primary DA when Ps == 0
This commit is contained in:
parent
b611d56881
commit
5b0af8ed59
2 changed files with 6 additions and 0 deletions
|
|
@ -68,6 +68,7 @@
|
||||||
(https://codeberg.org/dnkl/foot/issues/151).
|
(https://codeberg.org/dnkl/foot/issues/151).
|
||||||
* Crash after either resizing a window or changing the font size if
|
* Crash after either resizing a window or changing the font size if
|
||||||
there were sixels present in the scrollback while doing so.
|
there were sixels present in the scrollback while doing so.
|
||||||
|
* _Send Device Attributes_ to only send a response if `Ps == 0`.
|
||||||
|
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
|
||||||
5
csi.c
5
csi.c
|
|
@ -660,6 +660,11 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c': {
|
case 'c': {
|
||||||
|
if (vt_param_get(term, 0, 0) != 0) {
|
||||||
|
UNHANDLED();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
/* Send Device Attributes (Primary DA) */
|
/* Send Device Attributes (Primary DA) */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue