diff --git a/docs/changelog.md b/docs/changelog.md index 2157b486a..85f5b5b71 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -19,6 +19,7 @@ brief notes about them may accumulate here. * Wayland: the raw key modifiers are now correctly propagated so that they activate when used with key assignments using the `key = "raw:123"` binding syntax. * Wayland: fixed window decoration and full screen handling [#224](https://github.com/wez/wezterm/issues/224) * Wayland: fixed an issue where key repeat processing could "run away" and hang the application +* New: added [foreground_text_hsb](config/lua/config/foreground_text_hsb.md) setting to adjust hue, saturation and brightness when text is rendered. ### 20210203-095643-70a364eb diff --git a/docs/config/lua/config/foreground_text_hsb.md b/docs/config/lua/config/foreground_text_hsb.md index 87d1c6cdf..89b46e02d 100644 --- a/docs/config/lua/config/foreground_text_hsb.md +++ b/docs/config/lua/config/foreground_text_hsb.md @@ -22,7 +22,22 @@ The range of these values is 0.0 and up; they are used to multiply the existing values, so the default of 1.0 preserves the existing component, whilst 0.5 will reduce it by half, and 2.0 will double the value. - - - - +```lua +return { + -- This increases color saturation by 50% + foreground_text_hsb = { + hue = 1.0, + saturation = 1.5, + brightness = 1.0, + } +} +``` + +demonstrating the appearance of the default value +demonstrating setting saturating to 1.5 +demonstrating setting brightness to 1.5 +demonstrating setting hue to 1.5