Blender V5.0
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
11
12/* Format string where one could BLI_snprintf() R, G and B values
13 * and get proper marker to start colored output in the console.
14 */
15#define TRUECOLOR_ANSI_COLOR_FORMAT "\x1b[38;2;%d;%d;%dm"
16
17/* Marker which indicates that colored output is finished. */
18#define TRUECOLOR_ANSI_COLOR_FINISH "\x1b[0m"