From eb1f8d70a7d1fe4b0fe604d5a36fcbc2babef249 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 16 Jan 2023 11:26:14 +0000 Subject: Mark keys sent by command and skip paste handling for them. --- key-string.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'key-string.c') 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); -- cgit v1.2.3