From 0d82cdcb2cb889efe2a6370309593cda64528cc2 Mon Sep 17 00:00:00 2001 From: Zufu Liu Date: Sat, 11 Jul 2020 09:12:43 +1000 Subject: Backport: Feature [feature-requests:1369]. Represent DEL control character 0x7f with DEL. Backport of changeset 8395:b0355e996f10. --- src/Editor.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Editor.cxx') diff --git a/src/Editor.cxx b/src/Editor.cxx index 4bcebaf8d..104f6d500 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -217,6 +217,7 @@ void Editor::SetRepresentations() { const char c[2] = { static_cast(j), 0 }; reprs.SetRepresentation(c, reps[j]); } + reprs.SetRepresentation("\x7f", "DEL"); // C1 control set // As well as Unicode mode, ISO-8859-1 should use these -- cgit v1.2.3