mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Support SGR 2 to dim the foreground colour.
I've done this on a 'where possible' basis: in Windows paletted mode (in case anyone is still using an old enough graphics card to need that!) I simply haven't bothered, and will completely ignore the dim flag.
This commit is contained in:
19
putty.h
19
putty.h
@ -104,15 +104,16 @@ typedef struct terminal_tag Terminal;
|
||||
*/
|
||||
#define UCSWIDE 0xDFFF
|
||||
|
||||
#define ATTR_NARROW 0x800000U
|
||||
#define ATTR_WIDE 0x400000U
|
||||
#define ATTR_BOLD 0x040000U
|
||||
#define ATTR_UNDER 0x080000U
|
||||
#define ATTR_REVERSE 0x100000U
|
||||
#define ATTR_BLINK 0x200000U
|
||||
#define ATTR_FGMASK 0x0001FFU
|
||||
#define ATTR_BGMASK 0x03FE00U
|
||||
#define ATTR_COLOURS 0x03FFFFU
|
||||
#define ATTR_NARROW 0x0800000U
|
||||
#define ATTR_WIDE 0x0400000U
|
||||
#define ATTR_BOLD 0x0040000U
|
||||
#define ATTR_UNDER 0x0080000U
|
||||
#define ATTR_REVERSE 0x0100000U
|
||||
#define ATTR_BLINK 0x0200000U
|
||||
#define ATTR_FGMASK 0x00001FFU
|
||||
#define ATTR_BGMASK 0x003FE00U
|
||||
#define ATTR_COLOURS 0x003FFFFU
|
||||
#define ATTR_DIM 0x1000000U
|
||||
#define ATTR_FGSHIFT 0
|
||||
#define ATTR_BGSHIFT 9
|
||||
|
||||
|
Reference in New Issue
Block a user