mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-16 05:34:00 -04:00
csi: only respond to Primary DA when Ps == 0
This commit is contained in:
parent
5daaaa03c2
commit
5477ee8894
2 changed files with 6 additions and 0 deletions
|
|
@ -53,6 +53,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
|
|
@ -653,6 +653,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