mirror of https://github.com/adamdruppe/arsd.git
stdout is techncially right check hre
This commit is contained in:
parent
ea09f6530a
commit
1c13f6fa53
|
|
@ -2219,7 +2219,7 @@ http://msdn.microsoft.com/en-us/library/windows/desktop/ms683193%28v=vs.85%29.as
|
||||||
return [cols, rows];
|
return [cols, rows];
|
||||||
} else {
|
} else {
|
||||||
winsize w;
|
winsize w;
|
||||||
ioctl(0, TIOCGWINSZ, &w);
|
ioctl(1, TIOCGWINSZ, &w);
|
||||||
return [w.ws_col, w.ws_row];
|
return [w.ws_col, w.ws_row];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue