summaryrefslogtreecommitdiffstats
path: root/key-string.c
diff options
context:
space:
mode:
authornicm <nicm>2023-01-16 11:26:14 +0000
committernicm <nicm>2023-01-16 11:26:14 +0000
commiteb1f8d70a7d1fe4b0fe604d5a36fcbc2babef249 (patch)
tree9b0cf7683670bc89c2bc52ac1cf80d7830c09c55 /key-string.c
parent483cc77c1cbc6898fef143c8100945139c14a92c (diff)
Mark keys sent by command and skip paste handling for them.
Diffstat (limited to 'key-string.c')
-rw-r--r--key-string.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/key-string.c b/key-string.c
index 086c3ac4..699d460f 100644
--- a/key-string.c
+++ b/key-string.c
@@ -462,6 +462,8 @@ out:
strlcat(out, "B", sizeof out);
if (saved & KEYC_EXTENDED)
strlcat(out, "E", sizeof out);
+ if (saved & KEYC_SENT)
+ strlcat(out, "S", sizeof out);
strlcat(out, "]", sizeof out);
}
return (out);