diff --git a/USAGE.md b/USAGE.md index 0ad16df26..8d3357e74 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1901,12 +1901,14 @@ void nccell_release(struct ncplane* n, nccell* c); // Get the number of columns occupied by 'c'. int nccell_width(const struct ncplane* n, const nccell* c); -#define NCSTYLE_MASK 0x03fful -#define NCSTYLE_UNDERLINE 0x0040ul -#define NCSTYLE_BOLD 0x0004ul -#define NCSTYLE_ITALIC 0x0100ul -#define NCSTYLE_STRUCK 0x0200ul -#define NCSTYLE_UNDERCURL 0x0400ul +#define NCSTYLE_MASK 0xffffu +#define NCSTYLE_ITALIC 0x0020u +#define NCSTYLE_UNDERLINE 0x0010u +#define NCSTYLE_UNDERCURL 0x0008u +#define NCSTYLE_BOLD 0x0004u +#define NCSTYLE_STRUCK 0x0002u +#define NCSTYLE_BLINK 0x0001u +#define NCSTYLE_NONE 0 // copy the UTF8-encoded EGC out of the cell, whether simple or complex. the // result is not tied to the ncplane, and persists across erases / destruction. diff --git a/doc/man/man3/notcurses_plane.3.md b/doc/man/man3/notcurses_plane.3.md index 0b67982b8..ca5b6f687 100644 --- a/doc/man/man3/notcurses_plane.3.md +++ b/doc/man/man3/notcurses_plane.3.md @@ -27,11 +27,12 @@ typedef struct ncplane_options { int margin_b, margin_r; // bottom and right margins } ncplane_options; -#define NCSTYLE_UNDERCURL 0x0400u -#define NCSTYLE_STRUCK 0x0200u -#define NCSTYLE_ITALIC 0x0100u -#define NCSTYLE_UNDERLINE 0x0040u +#define NCSTYLE_ITALIC 0x0020u +#define NCSTYLE_UNDERLINE 0x0010u +#define NCSTYLE_UNDERCURL 0x0008u #define NCSTYLE_BOLD 0x0004u +#define NCSTYLE_STRUCK 0x0002u +#define NCSTYLE_BLINK 0x0001u #define NCSTYLE_NONE 0 ```