fix(test): set the tmux pane to 0
This commit is contained in:
parent
d7b66ac843
commit
9831101cde
3 changed files with 2 additions and 17 deletions
2
Makefile
2
Makefile
|
|
@ -28,7 +28,7 @@ DEBUG = -g3
|
|||
CXXFLAGS += $(DEBUG)
|
||||
|
||||
# Sources
|
||||
SRC = main.cpp
|
||||
SRC = sources/core/main.cpp
|
||||
|
||||
INC_DIR = include/core
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
clang
|
||||
clang-tools
|
||||
irssi
|
||||
tmux
|
||||
] ++ (
|
||||
if pkgs.stdenv.isLinux then [
|
||||
valgrind
|
||||
|
|
|
|||
16
main.cpp
16
main.cpp
|
|
@ -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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue