4 ms·
I'm using the same algorithm to color logs in ClickHouse: https://github.com/ClickHouse/ClickHouse/blob/82a6d75050513be4f677e912b84a4eada0e94f27/base/base/termi
by zX41ZdbW 4y ago
I'm using the same algorithm to color logs in ClickHouse:
https://github.com/ClickHouse/ClickHouse/blob/82a6d75050513be4f677e912b84a4eada0e94f27/base/base/terminalColors.cpp#L5 https://github.com/ClickHouse/ClickHouse/blob/82a6d75050513b...
It also ignores Gamma, but at least it is described in the comments in the code.
Nevertheless, I enjoy the colors every time I launch clickhouse-server.