Skip to content

Commit

Permalink
chore: update ascii logo
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Sep 19, 2023
1 parent 4d112ab commit 4f40e9e
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions ecsact_cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@
using namespace std::string_view_literals;

constexpr auto LOGO_RAW = R"(
########\ ##\
## _____| ## |
## | #######\ #######\ ######\ #######\ ######\
#####\ ## _____|## _____| \____##\ ## _____|\_## _|
## __| ## / \######\ ####### |## / ## |
## | ## | \____##\ ## __## |## | ## |##\
########\\#######\ ####### |\####### |\#######\ \#### |
\________|\_______|\_______/ \_______| \_______| \____/
/##########\
#### #/ \##\
###### \##\
#### ##\ \# |@@@@
\##\ #### @@@@@@@@@
@@@@@@@@@@@@@@@ ###### @@@@@@@@@@@@@@
#### @@@@@@@@@
/# |@@@@
#### /####/
###### ####/
####
)"sv;

constexpr auto USAGE = R"(Ecsact SDK Command Line
Expand All @@ -43,7 +46,9 @@ std::string colorize_logo() {
if(c == '\\' || c == '|' || c == '_' || c == '/') {
color = "\x1B[90m";
} else if(c == '#') {
color = "\x1B[36m";
color = "\033[36;1m";
} else if(c == '@') {
color = "\033[0m\033[38;5;214m";
}

if(!color.empty() && color != curr_color) {
Expand Down

0 comments on commit 4f40e9e

Please sign in to comment.