We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d03bd0 commit 53c6fb0Copy full SHA for 53c6fb0
docs/documentation/tips_and_tricks/9.md
@@ -13,14 +13,14 @@ auto main() -> int {
13
constexpr auto back_color_dark_blue = "\x1b[44m";
14
constexpr auto fore_color_red = "\x1b[91m";
15
constexpr auto fore_color_white = "\x1b[97m";
16
- constexpr auto reset_terminal = "\x1b[0m";
+ constexpr auto reset_color = "\x1b[0m";
17
18
std::print(fore_color_red);
19
std::println("I'm a red text color");
20
std::print(back_color_dark_blue);
21
std::print(fore_color_white);
22
std::println("I'm a white text on dark blue background color");
23
- std::print(reset_terminal);
+ std::print(reset_color);
24
}
25
```
26
0 commit comments