mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Introduce a third setting for the 'bold as colour' mode, which lets
you both brighten the colour _and_ bold the font at the same time. (Fixes 'bold-font-colour' and Debian #193352.) [originally from svn r9559]
This commit is contained in:
@ -109,11 +109,11 @@
|
||||
nfg = nbg;
|
||||
nbg = t;
|
||||
}
|
||||
if (cfg.bold_colour && (attr & ATTR_BOLD)) {
|
||||
if ((cfg.bold_style & 2) && (attr & ATTR_BOLD)) {
|
||||
if (nfg < 16) nfg |= 8;
|
||||
else if (nfg >= 256) nfg |= 1;
|
||||
}
|
||||
if (cfg.bold_colour && (attr & ATTR_BLINK)) {
|
||||
if ((cfg.bold_style & 2) && (attr & ATTR_BLINK)) {
|
||||
if (nbg < 16) nbg |= 8;
|
||||
else if (nbg >= 256) nbg |= 1;
|
||||
}
|
||||
@ -129,7 +129,7 @@
|
||||
widefactor = 1;
|
||||
}
|
||||
|
||||
/* FIXME: ATTR_BOLD without cfg.bold_colour */
|
||||
/* FIXME: ATTR_BOLD if cfg.bold_style & 1 */
|
||||
|
||||
if ((lattr & LATTR_MODE) != LATTR_NORM) {
|
||||
x *= 2;
|
||||
|
Reference in New Issue
Block a user