master amadaluzia/stfu / src / main.cpp
 1#include <format>
 2#include <print>
 3#include <string>
 4
 5std::string colours(int bottom, int top) {
 6    std::string result;
 7    for (int i = bottom; i <= top; i++) {
 8        result += std::format("\x1b[1;{0}m███", i);
 9    }
10    return result;
11}
12
13int main(void) {
14    const char *RED = "\x1b[1;31m";
15    const char *NORMAL = "\x1b[1;0m";
16
17    std::println({
18"{0}  ____ _____   shutthe@fuckup\n"
19"{0} / ___|_   _|  {1}--------------\n"
20"{0} \\___ \\ | |    I dont care:{1} about your fetch stuff\n"
21"{0}  ___) || |    In fact,:{1} I'm getting tired of all of this BS\n"
22"{0} |____/ |_|    ramfetch, a fetch that displays memory i-:{1} SHUT UP\n"
23"{0}  _____ _   _  yfetch - a minimal command-li-:{1} FUCK OFF\n"
24"{0} |  ___| | | | cpufetch - Simplistic yet fa-:{1} NO ITS NOT FANCY ITS OVERDONE\n"
25"{0} | |_  | | | | blablablafetc-:{1} GET THE FUCK OUT OF MY REDDIT FRONTPAGE\n"
26"{0} |  _| | |_| | If I saw one more fetch BS:{1} I'll fucking destroy my computer\n"
27"{0} |_|    \\___/  and never use:{1} Reddit ever again\n"
28"{0}               {2}\n"
29"{0}               {3}\n"
30            }, RED, NORMAL, colours(30, 37), colours(90, 97));
31}