@@ -37,30 +37,32 @@ have bits devoted to character data, attribute data, and color pair data.
3737There are three configurations supported :
3838
3939Default, 64-bit chtype, both wide- and 8-bit character builds:
40- -------------------------------------------------------------------------------
41- | 63 | 62 | .. | 45 | 44 | 43 | .. | 38 | 37 | 36 | 35 | 34 | 33 | .. | 22 | 21 | 20 | 19 | 18 | 17 | 16 | .. | 3 | 2 | 1 | 0 |
42- ----------------------------------------------------------- --------------------
43- | color pair | unused | modifiers | character eg 'a'
40+
41+ color pair | unused | modifiers | character eg 'a'
42+ --------------| --------| -----------------------| --------------------
43+ 63 62 .. 45 44|43 .. 39|37 36 35 .. 22 21|20 19 18 .. 3 2 1 0
4444
4545 21 character bits (0-20), enough for full Unicode coverage
4646 17 attribute bits (21-37)
4747 6 currently unused bits (38-43)
4848 20 color pair bits (44-63), enough for 1048576 color pairs
4949
505032-bit chtypes with wide characters (CHTYPE_32 and PDC_WIDE are #defined):
51- +--------------------------------------------------------------------+
52- |31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|..| 2| 1| 0|
53- +--------------------------------------------------------------------+
54- color pair | modifiers | character eg 'a'
51+
52+ color pair | modifiers | character eg 'a'
53+ -----------------|-----------------------|--------------------
54+ 31 30 29 .. 25 24|23 22 21 20 19 18 17 16|15 14 13 .. 2 1 0
55+
5556 16 character bits (0-16), enough for BMP (Unicode below 64K)
5657 8 attribute bits (16-23)
5758 8 color pair bits (24-31), for 256 color pairs
5859
596032-bit chtypes with narrow characters (CHTYPE_32 #defined, PDC_WIDE is not):
60- +--------------------------------------------------------------------+
61- |31|30|29|28|..|22|21|20|19|18|17|16|..|12|11|10| 9| 8| 7| 6|..| 1| 0|
62- +--------------------------------------------------------------------+
63- color pair | modifiers |character
61+
62+ color pair | modifiers |character
63+ --------------------|---------------------|----------------
64+ 31 30 29 .. 22 21 20|19 18 17 16 .. 10 9 8|7 6 5 4 3 2 1
65+
6466 8 character bits (0-7); only 8-bit charsets will work
6567 12 attribute bits (8-19)
6668 12 color pair bits (20-31), for 4096 pairs
@@ -3127,7 +3129,7 @@ clipboard
31273129 memory returned, via PDC_freeclipboard(). The length of the clipboard
31283130 contents is returned in the length argument.
31293131
3130- PDC_setclipboard copies the supplied text into the system's
3132+ PDC_setclipboard() copies the supplied text into the system's
31313133 clipboard, emptying the clipboard prior to the copy.
31323134
31333135 PDC_clearclipboard() clears the internal clipboard.
0 commit comments