You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf("The width of your display is too small for the loading bar to display properly.\nThe minimum size is %d and a size of %d is recommended\n", 45+4, 45+25);
arguments : this is argv (all the arguments given in terminal)
@@ -1775,19 +1807,9 @@ int main(int argc, char const *argv[])
1775
1807
char*tarName=NULL;
1776
1808
char*dirName=NULL;
1777
1809
1778
-
structwinsizewindowSize;
1779
-
ioctl(STDOUT_FILENO, TIOCGWINSZ, &windowSize);
1780
-
1781
-
numberOfSegments=windowSize.ws_col-45;
1782
-
if(numberOfSegments<4){
1783
-
numberOfSegments=4;
1784
-
printf("The width of your display is too small for the loading bar to display properly.\nThe minimum size is %d and a size of %d is recommended\n", 45+4, 45+25);
0 commit comments