From 0a93c90f1564a591136dd1396f21e72e9d373f12 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Mon, 16 Sep 2013 19:38:01 +0430 Subject: [PATCH] term: without FB, emboldening colors 0-7 should increase their intensities --- pad.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pad.c b/pad.c index c1f139c..2fa7b36 100644 --- a/pad.c +++ b/pad.c @@ -158,8 +158,11 @@ void pad_put(int ch, int r, int c, int fg, int bg) { int sr = fnrows * r; int sc = fncols * c; + fbval_t *bits; int i; - fbval_t *bits = ch2fb(fnsel(fg, bg), ch, fg, bg); + if ((fg & 0xfff8) == FN_B && !fonts[2]) + fg |= 8; /* increase intensity of no FB */ + bits = ch2fb(fnsel(fg, bg), ch, fg, bg); if (!bits) bits = ch2fb(0, ch, fg, bg); if (!bits) -- 2.11.4.GIT