fix(test): set the tmux pane to 0

This commit is contained in:
Raphael 2025-05-12 15:24:44 +02:00
parent d7b66ac843
commit 9831101cde
3 changed files with 2 additions and 17 deletions

View file

@ -28,7 +28,7 @@ DEBUG = -g3
CXXFLAGS += $(DEBUG)
# Sources
SRC = main.cpp
SRC = sources/core/main.cpp
INC_DIR = include/core

View file

@ -17,6 +17,7 @@
clang
clang-tools
irssi
tmux
] ++ (
if pkgs.stdenv.isLinux then [
valgrind

View file

@ -1,16 +0,0 @@
#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;
}