parent
0973fbd76c
commit
7e5b9d94ee
1 changed files with 0 additions and 1 deletions
|
@ -445,7 +445,6 @@ int main(int argc, char* argv[]) {
|
||||||
struct winsize w;
|
struct winsize w;
|
||||||
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
||||||
|
|
||||||
//If redirect STDOUT to one file
|
|
||||||
if(w.ws_col == 0 && w.ws_col == 0)
|
if(w.ws_col == 0 && w.ws_col == 0)
|
||||||
ioctl(0, TIOCGWINSZ, &w);
|
ioctl(0, TIOCGWINSZ, &w);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue