Skip to content

Commit 07a5469

Browse files
committed
Made some curses.h tables more markdown-friendly
1 parent b786e76 commit 07a5469

1 file changed

Lines changed: 20 additions & 18 deletions

File tree

curses.h

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,28 @@
1010
1111
Define before inclusion (only those needed):
1212
13-
XCURSES if building / built for X11
14-
PDC_RGB if you want to use RGB color definitions
15-
(Red = 1, Green = 2, Blue = 4) instead of BGR
16-
PDC_WIDE if building / built with wide-character support
17-
PDC_FORCE_UTF8 if forcing use of UTF8 (implies PDC_WIDE)
18-
PDC_DLL_BUILD if building / built as a Windows DLL
19-
PDC_NCMOUSE to use the ncurses mouse API instead
20-
of PDCurses' traditional mouse API
13+
Macro | Meaning / value
14+
:--------------|---------------------------------------------------
15+
XCURSES | if building / built for X11
16+
PDC_RGB | RGB color (Red = 1, Green = 2, Blue = 4) vs. BGR
17+
PDC_WIDE | if building / built with wide-character support
18+
PDC_FORCE_UTF8 | if forcing use of UTF8 (implies PDC_WIDE)
19+
PDC_DLL_BUILD | if building / built as a Windows DLL
20+
PDC_NCMOUSE | use ncurses mouse API vs. traditional PDCurses*
2121
2222
Defined by this header:
2323
24-
PDCURSES PDCurses-only features are available
25-
PDC_BUILD API build version
26-
PDC_VER_MAJOR major version number
27-
PDC_VER_MINOR minor version number
28-
PDC_VER_CHANGE version change number
29-
PDC_VER_YEAR year of version
30-
PDC_VER_MONTH month of version
31-
PDC_VER_DAY day of month of version
32-
PDC_VERDOT version string
24+
Macro | Meaning / value
25+
:--------------|---------------------------------------------------
26+
PDCURSES | PDCurses-only features are available
27+
PDC_BUILD | API build version
28+
PDC_VER_MAJOR | major version number
29+
PDC_VER_MINOR | minor version number
30+
PDC_VER_CHANGE | version change number
31+
PDC_VER_YEAR | year of version
32+
PDC_VER_MONTH | month of version
33+
PDC_VER_DAY | day of month of version
34+
PDC_VERDOT | version string
3335
3436
**man-end****************************************************************/
3537

@@ -42,7 +44,7 @@ Defined by this header:
4244
#define PDC_VER_CHANGE 1
4345
#define PDC_VER_YEAR 2025
4446
#define PDC_VER_MONTH 6
45-
#define PDC_VER_DAY 16
47+
#define PDC_VER_DAY 18
4648

4749
#define PDC_STRINGIZE( x) #x
4850
#define PDC_stringize( x) PDC_STRINGIZE( x)

0 commit comments

Comments
 (0)