Revert "Constant standard output stream"
This reverts commit 543cebef37
.
This commit is contained in:
parent
cd2805d33d
commit
d749d51042
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ cimg_library::CImg<unsigned char> load_rgb_CImg(const char * const filename) {
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
struct winsize w;
|
struct winsize w;
|
||||||
ioctl(0, TIOCGWINSZ, &w);
|
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
||||||
|
|
||||||
int maxWidth = w.ws_col * 4;
|
int maxWidth = w.ws_col * 4;
|
||||||
int maxHeight = w.ws_row * 8;
|
int maxHeight = w.ws_row * 8;
|
||||||
|
|
Loading…
Reference in a new issue