Blender V4.3
BLI_console.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2018 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
16/* Format string where one could BLI_snprintf() R, G and B values
17 * and get proper marker to start colored output in the console.
18 */
19#define TRUECOLOR_ANSI_COLOR_FORMAT "\x1b[38;2;%d;%d;%dm"
20
21/* Marker which indicates that colored output is finished. */
22#define TRUECOLOR_ANSI_COLOR_FINISH "\x1b[0m"
23
24#ifdef __cplusplus
25}
26#endif