summaryrefslogtreecommitdiffstats
path: root/chars.in
diff options
context:
space:
mode:
Diffstat (limited to 'chars.in')
-rw-r--r--chars.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/chars.in b/chars.in
index 282cb598..9162b090 100644
--- a/chars.in
+++ b/chars.in
@@ -30,11 +30,16 @@
* XXX - update LINES_MAX if adding more!
*/
+/* Non-breaking, non-collapsing space uses unit separator. */
+static const char ascii_nbrsp[2] = { 31, 0 };
+
+CHAR_TBL_START
+
/* Spacing. */
CHAR("c", 1, "", 0, "", 0)
CHAR("0", 1, " ", 1, " ", 7)
CHAR(" ", 1, " ", 1, " ", 7)
-CHAR("~", 1, " ", 1, " ", 6)
+CHAR("~", 1, ascii_nbrsp, 1, " ", 6)
CHAR("%", 1, "", 0, "", 0)
CHAR("&", 1, "", 0, "", 0)
CHAR("^", 1, "", 0, "", 0)
@@ -416,3 +421,5 @@ CHAR("%0", 2, "%o", 2, "‰", 7)
CHAR("fm", 2, "\'", 1, "′", 7)
CHAR("sd", 2, "\"", 1, "″", 7)
CHAR("mc", 2, "mu", 2, "µ", 6)
+
+CHAR_TBL_END