aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-23 10:29:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-26 19:47:35 +0000
commitc8fdd3a2149b1212506037d1cb86e15fb3411865 (patch)
tree52d7026fd51e5a0e5f2eb1d77319196ed8cb67f6
parentselection: codespell: stript -> strip (diff)
selection: DEL is 0x7f, not 0x1f
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index 92da56c5..ca175eeb 100644
--- a/selection.c
+++ b/selection.c
@@ -1345,7 +1345,7 @@ fdm_receive(struct fdm *fdm, int fd, int events, void *data)
/* Additional control characters stripped by default (but
* configurable) in XTerm: BS, HT, DEL */
- case '\b': case '\t': case '\x1f':
+ case '\b': case '\t': case '\x7f':
/* FALLTHROUGH */
/* ESC */