From b4bfa4fe91a51f15fee6dfa984000c49689a9531 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 8 Jul 2019 04:22:36 +0000 Subject: [PATCH] Translate DEL (0x7F) to Unicode when USE_UNICODE_FOR_TERM_CTRL_CHARS is defined (not defined by default). --- src/xpdev/unicode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xpdev/unicode.c b/src/xpdev/unicode.c index 6b175d7406..bf0e15cf4b 100644 --- a/src/xpdev/unicode.c +++ b/src/xpdev/unicode.c @@ -79,8 +79,7 @@ uint32_t cp437_unicode_tbl[] = /* 0x1D */ 0x2194, /* 0x1E */ 0x25B2, /* 0x1F */ 0x25BC, - /* 0x20-0x7F (1:1 with US-ASCII and CP437) */ - 0, + /* 0x20-0x7E (1:1 with US-ASCII and CP437) */ 0, 0, 0, @@ -176,6 +175,7 @@ uint32_t cp437_unicode_tbl[] = 0, 0, 0, + /* 0x7F (DEL) */ UNICODE_TERM_CTRL_CHAR_CODE(0x2302), /* 0x80 */ 0x00C7, /* 0x81 */ 0x00FC, /* 0x82 */ 0x00E9, -- GitLab