| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-11-15 | hsl: add our own implementations of rgb-to-hsl and hsl-to-rgb | Daniel Eklöf | -117/+0 | |
| * New function: rgb_to_hsl() * New function: hsl_to_rgb() * Replace XTerm’s hls_to_rgb() with our own, hsl_to_rgb(). * Ensure hue/lum/sat values are within range before calling hsl_to_rgb() Note that sixels’ use the following primary hues: * blue: 0° * red: 120 * green: 240° While “standard” HSL uses: * red: 0° * green: 120° * blue: 240° Thus, we need to adjust the sixel’s hue value before calling hsl_to_rgb(). | ||||
| 2020-10-10 | selection: use appropriate check for PRIMARY paste | Sergey Nazaryev | -0/+117 | |
| Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD. | ||||
| 2020-02-22 | sixel: add HLS color format support | Daniel Eklöf | -0/+117 | |
