Skip to content

Commit 53c6fb0

Browse files
committed
Update 9.md
1 parent 5d03bd0 commit 53c6fb0

File tree

1 file changed

+2
-2
lines changed
  • docs/documentation/tips_and_tricks

1 file changed

+2
-2
lines changed

docs/documentation/tips_and_tricks/9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ auto main() -> int {
1313
constexpr auto back_color_dark_blue = "\x1b[44m";
1414
constexpr auto fore_color_red = "\x1b[91m";
1515
constexpr auto fore_color_white = "\x1b[97m";
16-
constexpr auto reset_terminal = "\x1b[0m";
16+
constexpr auto reset_color = "\x1b[0m";
1717

1818
std::print(fore_color_red);
1919
std::println("I'm a red text color");
2020
std::print(back_color_dark_blue);
2121
std::print(fore_color_white);
2222
std::println("I'm a white text on dark blue background color");
23-
std::print(reset_terminal);
23+
std::print(reset_color);
2424
}
2525
```
2626

0 commit comments

Comments
 (0)