parent
f84eff9aa5
commit
6ce134acd1
4
makefile
4
makefile
|
@ -1,7 +1,7 @@
|
|||
CC = gcc
|
||||
CPPFLAGS = -Iinclude -Isrc
|
||||
CFLAGS = -Wall -pthread
|
||||
LDLIBS = -lm -lpthread
|
||||
CFLAGS = -Wall
|
||||
LDLIBS = -lm
|
||||
|
||||
SRC = src
|
||||
OBJ = obj
|
||||
|
|
|
@ -297,7 +297,7 @@ int main(int argc, char **argv){
|
|||
bool run = true;
|
||||
bool *used = (bool[6]){0};
|
||||
int start_time = time(0);
|
||||
bool arrows = false;
|
||||
bool arrows = true;
|
||||
if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){
|
||||
arrows = true;
|
||||
}
|
||||
|
@ -333,7 +333,7 @@ int main(int argc, char **argv){
|
|||
int last_input = time(0);
|
||||
|
||||
while (!kbhit()){
|
||||
if (last_input + 30 <= time(0)){
|
||||
if (last_input + 60 <= time(0)){
|
||||
pipes_2(width, height);
|
||||
last_input = time(0);
|
||||
print_menu(width, height, line);
|
||||
|
|
Loading…
Reference in New Issue