From 49b42c8415ecc446360c4f32716c1e84b1789e4b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 29 Jun 2024 06:02:39 -0400 Subject: a8cat: treat ASCII delete as backspace in -r mode. --- a8cat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a8cat.c b/a8cat.c index 35d8535..df72501 100644 --- a/a8cat.c +++ b/a8cat.c @@ -74,7 +74,7 @@ int a8revcat(const char *file) { putchar(0x9b); } else if(c == '\t') { putchar(0x7f); - } else if(c == '\b') { + } else if(c == '\b' || c == 0x7f) { putchar(0x7e); } else if(c == '\a') { putchar(0xfd); -- cgit v1.2.3