forked from zwickethomas/Photonics-Helfer
some changes
parent
b92b41c0f3
commit
ad443786dc
|
@ -168,7 +168,6 @@ void print_menu(int terminal_width, int terminal_height, int line){
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void print_help(){
|
void print_help(){
|
||||||
clear_terminal();
|
clear_terminal();
|
||||||
printf("? \t Diese Hilfe anzeigen\n");
|
printf("? \t Diese Hilfe anzeigen\n");
|
||||||
|
@ -198,6 +197,7 @@ void get_terminal_size_init(int argc, char **argv, int *width, int *height){
|
||||||
clear_terminal();
|
clear_terminal();
|
||||||
printf("Terminal zu klein!\n");
|
printf("Terminal zu klein!\n");
|
||||||
|
|
||||||
|
fflush(stdout);
|
||||||
while(*width < 100 || *height < 30){
|
while(*width < 100 || *height < 30){
|
||||||
get_terminal_size(argc, argv, width, height);
|
get_terminal_size(argc, argv, width, height);
|
||||||
sleep_universal(1);
|
sleep_universal(1);
|
||||||
|
|
Loading…
Reference in New Issue