feat(test): tmux test now working

This commit is contained in:
Raphael 2025-05-12 15:26:15 +02:00
parent 9831101cde
commit 316dd1fde4
2 changed files with 18 additions and 2 deletions

16
sources/core/main.cpp Normal file
View file

@ -0,0 +1,16 @@
#include <iostream>
#include "core.hpp"
int main(int argc, char *argv[]) {
if (argc != 3) {
std::cerr << CLR_RED << "Usage: " << argv[0] << " <port> <password>" << CLR_RESET << std::endl;
return 1;
}
if (DEBUG) {
std::cout << CLR_GREY << "Port:\t\t" << CLR_GREEN << argv[1] << CLR_RESET << std::endl;
std::cout << CLR_GREY << "Password:\t" << CLR_GREEN << argv[2] << CLR_RESET << std::endl;
}
while (1)
;
return 0;
}