- 🐛 Fixed an error on windows where the query would not succeed when the standard input was redirected.
- ⚡ The color parsing code has been extracted into its own crate
that terminal-colorsaurus now depends on:
xterm-color
. - 📝 The terminal survey has been extended and updated.
- 🐛 Re-add missing license texts to the published crate
(this was a regression introduced in
0.4.5
). - ✨ Recognize
Eterm
as unsupported.
- 🐛 Switch the string terminator back to
BEL
to work around and issue in urxvt. Previously this was done only when urxvt was detected. Unfortunately this detection was not reliable.
- ✨ Added support for Windows (starting with Windows Terminal v1.22, in preview at the time of writing).
- Included more terminals in terminal survey.
- The top level crate docs have been reduced to improve readability.
- Bump
mio
dependency to 1.0. - ✨ Add helpful aliases to the docs.
- Remove private
docs
crate feature. - 🐛 Fix broken link in docs.
- ✨ Add optional dependency on
anstyle
to enable conversions fromColor
toanstyle::RgbColor
. - ✨ Add conversion from
Color
torgb::RGB8
. - ✨ Treat environments with no
TERM
env var as unsupported. - Add
keywords
to package metadata. - Remove dependency on
thiserror
.
- 🐛 Fixed
OSC 11
response being visible to users of GNU Screen by detecting Screen and erroring before sending any control sequences (#16).
- ⚡ Renamed «color scheme» to «color palette».
- ⚡ Removed
is_dark_on_light
andis_light_on_dark
functions. Usecolor_scheme
instead. - Add new convenience function
color_scheme
which returns a niceDark / Light
enum. - Add support for urxvt's
rgba:
color format. - Further refined the documentation (more organized terminal list, new terminals tested).
- Improved handling of ambiguous color palettes (e.g. when background color is the same as foreground).
- Queries are now terminated with
ST
(the standard string terminator) instead ofBEL
(which is an xterm extension).
- Feature: Add new
Color::scale_to_8bit
function. - Fix: Correctly scale colors up to 16 bits per channel.
- Fix: Support full range of
#r(rrr)g(ggg)b(bbb)
color syntax.
- Update terminal survey docs.
- Replace table with pretty graphs for latency docs ✨.
- Add support for Terminology's color format.
- Bump
mio
dependency.
- Include benchmark results in rustdocs.
- Extend terminal survey to more terminals.
- Remove support for Windows. Why?
- Remove preconditions from public API.
- Updated to latest version of
terminal-trx
. - Improved docs: Terminal Survey has been simplified.
- Added missing docs and clarified them in some places.
- Exposed pager detection heuristic.
- Improved detection of terminals that support querying for colors.
- Renamed
QueryOptions.max_timeout
->QueryOptions.timeout
.
- Initial release