]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
examples : use colorblind friendly TTY color scheme (#2360)
authorJustine Tunney <redacted>
Tue, 20 Aug 2024 07:49:10 +0000 (00:49 -0700)
committerGitHub <redacted>
Tue, 20 Aug 2024 07:49:10 +0000 (10:49 +0300)
commit7f786750086c54ab5a03a7d14a7b8118d2234145
tree796feb73d8f66fe4c96c2356a5eb5179b5ec0159
parent22fcd5fd110ba1ff592b4e23013d870831756259
examples : use colorblind friendly TTY color scheme (#2360)

This change updates the -pc flag, so that a new xterm256 color scheme is
used. This color scheme is believed to be better for three reasons:

1. It should be friendlier to the colorblind. The scheme was designed by
   Paul Tol (see: https://personal.sron.nl/~pault/). TensorBoard uses it
   since 2017, so it's already popular in the machine learning community

2. It should appear to be the same colors as before to people who aren't
   i.e. it's still a red-green spectrum like before but lightly modified

3. It is readable in both white and black background terminals. The neon
   colors before were probably a bit too intense for white backgrounds.
examples/common.h