summaryrefslogtreecommitdiffstats
path: root/Utilities/cmpdcurses/common/acs437.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-12 21:14:36 (GMT)
committerBrad King <brad.king@kitware.com>2022-01-12 21:14:36 (GMT)
commit89703bc94147c0abaf0e0b9fd2e40dc0de202868 (patch)
tree714d4d91f18174bc37f9b9f8186fc64f40b520eb /Utilities/cmpdcurses/common/acs437.h
parentd03091edad1040707ce310589286cadff495d5bf (diff)
parentf84c4112c30c53bd84a12375b0b26c10a081cb46 (diff)
downloadCMake-89703bc94147c0abaf0e0b9fd2e40dc0de202868.zip
CMake-89703bc94147c0abaf0e0b9fd2e40dc0de202868.tar.gz
CMake-89703bc94147c0abaf0e0b9fd2e40dc0de202868.tar.bz2
Merge branch 'upstream-PDCurses' into update-pdcurses
# By PDCurses Upstream * upstream-PDCurses: PDCurses 2021-12-08 (f1cd4f45)
Diffstat (limited to 'Utilities/cmpdcurses/common/acs437.h')
-rw-r--r--Utilities/cmpdcurses/common/acs437.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/Utilities/cmpdcurses/common/acs437.h b/Utilities/cmpdcurses/common/acs437.h
new file mode 100644
index 0000000..24cbd78
--- /dev/null
+++ b/Utilities/cmpdcurses/common/acs437.h
@@ -0,0 +1,35 @@
+/* ACS definitions originally by jshumate@wrdis01.robins.af.mil -- these
+ match code page 437 and compatible pages (CP850, CP852, etc.) */
+
+chtype acs_map[128] =
+{
+ PDC_ACS(0), PDC_ACS(1), PDC_ACS(2), PDC_ACS(3), PDC_ACS(4),
+ PDC_ACS(5), PDC_ACS(6), PDC_ACS(7), PDC_ACS(8), PDC_ACS(9),
+ PDC_ACS(10), PDC_ACS(11), PDC_ACS(12), PDC_ACS(13), PDC_ACS(14),
+ PDC_ACS(15), PDC_ACS(16), PDC_ACS(17), PDC_ACS(18), PDC_ACS(19),
+ PDC_ACS(20), PDC_ACS(21), PDC_ACS(22), PDC_ACS(23), PDC_ACS(24),
+ PDC_ACS(25), PDC_ACS(26), PDC_ACS(27), PDC_ACS(28), PDC_ACS(29),
+ PDC_ACS(30), PDC_ACS(31), ' ', '!', '"', '#', '$', '%', '&', '\'',
+ '(', ')', '*',
+
+ PDC_ACS(0x1a), PDC_ACS(0x1b), PDC_ACS(0x18), PDC_ACS(0x19),
+
+ '/',
+
+ 0xdb,
+
+ '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=',
+ '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
+ 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
+ 'X', 'Y', 'Z', '[', '\\', ']', '^', '_',
+
+ PDC_ACS(0x04), 0xb1,
+
+ 'b', 'c', 'd', 'e',
+
+ 0xf8, 0xf1, 0xb0, PDC_ACS(0x0f), 0xd9, 0xbf, 0xda, 0xc0, 0xc5, 0x2d,
+ 0x2d, 0xc4, 0x2d, 0x5f, 0xc3, 0xb4, 0xc1, 0xc2, 0xb3, 0xf3, 0xf2,
+ 0xe3, 0xd8, 0x9c, 0xf9,
+
+ PDC_ACS(127)
+};