aboutsummaryrefslogtreecommitdiff
path: root/dcs.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-02-06 11:36:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-02-06 11:36:45 +0000
commit7999975016a57cc0a2c2e20bc55f29de32df7044 (patch)
treedbed598d15ba1f951bf653ecb04e29f8a3979725 /dcs.c
parentreadme: shell integration: fix wiki link (diff)
Don't use fancy Unicode quotes, stick to ASCII
Diffstat (limited to 'dcs.c')
-rw-r--r--dcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/dcs.c b/dcs.c
index 601f1172..c4309459 100644
--- a/dcs.c
+++ b/dcs.c
@@ -138,12 +138,12 @@ xtgettcap_reply(struct terminal *term, const char *hex_cap_name, size_t len)
/*
* Reply format:
* \EP 1 + r cap=value \E\\
- * Where ‘cap’ and ‘value are hex encoded ascii strings
+ * Where 'cap' and 'value are hex encoded ascii strings
*/
char *reply = xmalloc(
5 + /* DCS 1 + r (\EP1+r) */
len + /* capability name, hex encoded */
- 1 + /* ‘=’ */
+ 1 + /* '=' */
strlen(value) * 2 + /* capability value, hex encoded */
2 + /* ST (\E\\) */
1);
@@ -253,8 +253,8 @@ decrqss_unhook(struct terminal *term)
/*
* A note on the Ps parameter in the reply: many DEC manual
* instances (e.g. https://vt100.net/docs/vt510-rm/DECRPSS) claim
- * that 0 means “request is valid”, and 1 means “request is
- * invalid”.
+ * that 0 means "request is valid", and 1 means "request is
+ * invalid".
*
* However, this appears to be a typo; actual hardware inverts the
* response (as does XTerm and mlterm):