From 5477ee88948166f76c9ac69bc28bf8af8d8bd869 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 9 Oct 2020 18:53:00 +0200 Subject: csi: only respond to Primary DA when Ps == 0 --- csi.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'csi.c') diff --git a/csi.c b/csi.c index 53a90805..7c4d5077 100644 --- a/csi.c +++ b/csi.c @@ -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) */ /* -- cgit v1.3