aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-10-09 16:53:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-10-09 16:53:00 +0000
commit5b0af8ed59c86cfe02bee65f9078ccf9920eb0be (patch)
treef489b6c232e2756bafa32a0fdafb85251a1cdaa8 /csi.c
parentreadme: clearer descriptions of secondary and tertiary DA responses (diff)
csi: only respond to Primary DA when Ps == 0
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 1b5d070b..f2ff38be 100644
--- a/csi.c
+++ b/csi.c
@@ -660,6 +660,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) */
/*