aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-06-29 06:02:39 -0400
committerB. Watson <urchlay@slackware.uk>2024-06-29 06:02:39 -0400
commit49b42c8415ecc446360c4f32716c1e84b1789e4b (patch)
tree9b5579372a1393038b1888d306c0766fc672560a
parente79bf42c2fa43f131f79d0891694e59434f820e9 (diff)
downloadbw-atari8-tools-49b42c8415ecc446360c4f32716c1e84b1789e4b.tar.gz
a8cat: treat ASCII delete as backspace in -r mode.
-rw-r--r--a8cat.c2
1 files changed, 1 insertions, 1 deletions
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);