Remove comments when terminal size is determined.

This commit is contained in:
ArthurSonzogni 2019-02-02 11:48:17 +01:00
parent 77ecfb22f7
commit ed416b5e1e

View File

@ -13,7 +13,6 @@ Terminal::Dimensions Terminal::Size() {
#else #else
winsize w; winsize w;
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w); ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
std::cerr << w.ws_col << "," << w.ws_row << std::endl;
return Dimensions{w.ws_col, w.ws_row}; return Dimensions{w.ws_col, w.ws_row};
#endif #endif
} }