aboutsummaryrefslogtreecommitdiffstats
path: root/textpre.awk
diff options
context:
space:
mode:
authorIIMarckus <iimarckus@gmail.com>2011-12-21 14:02:50 -0700
committerIIMarckus <iimarckus@gmail.com>2011-12-21 14:02:50 -0700
commiteed50479223ed604041ff6e281ce7a46564e2a0a (patch)
tree844ea1b7fe32ee2943c93df1b0f0a98c05f9e5b7 /textpre.awk
parentAdd a weird OT string write. (diff)
downloadpokeyellow-eed50479223ed604041ff6e281ce7a46564e2a0a.tar.gz
pokeyellow-eed50479223ed604041ff6e281ce7a46564e2a0a.tar.xz
pokeyellow-eed50479223ed604041ff6e281ce7a46564e2a0a.zip
Add characters for textbox borders to the array.
hg-commit-id: b09b0823f1bc
Diffstat (limited to 'textpre.awk')
-rw-r--r--textpre.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/textpre.awk b/textpre.awk
index 52e5d012..a10f5f12 100644
--- a/textpre.awk
+++ b/textpre.awk
@@ -146,6 +146,15 @@ char["ー"] = "$E3"
char["@"] = "$50"
char["#"] = "$54"
char["…"] = "$75"
+
+# textbox borders
+char["┌"] = "$79"
+char["─"] = "$7A"
+char["┐"] = "$7B"
+char["│"] = "$7C"
+char["└"] = "$7D"
+char["┘"] = "$7E"
+
char[" "] = "$7F"
char["A"] = "$80"
char["B"] = "$81"