aboutsummaryrefslogtreecommitdiff
path: root/selection.c
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 18:31:23 +0000
commite70776fc8c24dee1d34029b3aa51a89ab899ef4d (patch)
treed8296ae92c3de5cb84ea0b116797a1ad8ee072e2 /selection.c
parentselection: codespell: stript -> strip (diff)
selection: DEL is 0x7f, not 0x1f
Diffstat (limited to 'selection.c')
-rw-r--r--selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/selection.c b/selection.c
index 628c6718..b7aba2cd 100644
--- a/selection.c
+++ b/selection.c
@@ -1650,7 +1650,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 */