aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md5
-rw-r--r--doc/foot.ini.5.scd4
-rw-r--r--render.c1
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 061309a2..a97aa72f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -38,6 +38,10 @@
### Changed
+
+* `bold-text-in-bright=palette-based` now only brightens colors from palette
+
+
### Deprecated
### Removed
### Fixed
@@ -59,6 +63,7 @@
### Contributors
* Nihal Jere
+* [nowrep](https://codeberg.org/nowrep)
## 1.8.2
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 4a4be533..16f637e6 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -240,8 +240,8 @@ in this order:
If set to *palette-based*, rather than a simple *yes|true*, colors
matching one of the 8 regular palette colors will be brightened
- using the corresponding bright palette color. Other colors will be
- brightened by increasing the luminance.
+ using the corresponding bright palette color. Other colors will
+ not be brightened.
Default: _no_.
diff --git a/render.c b/render.c
index f42279c9..84796aa0 100644
--- a/render.c
+++ b/render.c
@@ -264,6 +264,7 @@ color_brighten(const struct terminal *term, uint32_t color)
if (term->colors.table[i] == color)
return term->colors.table[i + 8];
}
+ return color;
}
int hue, sat, lum;