diff options
author | kdx <kikoodx@paranoici.org> | 2023-01-13 17:03:40 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-01-13 17:03:40 +0100 |
commit | 4f64705d26b9a80c49fc15065b557d82b3ac0a97 (patch) | |
tree | 191141704bf8969f02838d38001a35178ece0061 | |
parent | afa8fba1de95952ee31335aa23072047e9ab3508 (diff) | |
download | twtxtc-main.tar.gz |
-rw-r--r-- | twtxt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -353,7 +353,7 @@ int main(int argc, char *argv[]) { saved_attributes = consoleInfo.wAttributes; SetConsoleTextAttribute(hConsole, 14); /* 14 = yellow because wtf */ - printf("@%*s", (int) iLongestNickname, ptr[i].username); + printf("%*s", (int) iLongestNickname, ptr[i].username); /* Restore the original values. */ SetConsoleTextAttribute(hConsole, saved_attributes); @@ -369,7 +369,7 @@ int main(int argc, char *argv[]) { #define YELLOW "\x1B[33m" /* lol */ #define WHITE "\x1B[37m" /* actually ... */ #define RESET "\x1B[0m" /* WHY?! */ - printf(YELLOW "@%*s" RESET "%s" WHITE "%s\n" RESET, (int) iLongestNickname, ptr[i].username, spacing, ptr[i].text); + printf(YELLOW "%*s" RESET "%s" WHITE "%s\n" RESET, (int) iLongestNickname, ptr[i].username, spacing, ptr[i].text); # endif #endif } |