mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 00:17:44 +08:00
Remove comments when terminal size is determined.
This commit is contained in:
parent
77ecfb22f7
commit
ed416b5e1e
@ -13,7 +13,6 @@ Terminal::Dimensions Terminal::Size() {
|
||||
#else
|
||||
winsize w;
|
||||
ioctl(STDOUT_FILENO, TIOCGWINSZ, &w);
|
||||
std::cerr << w.ws_col << "," << w.ws_row << std::endl;
|
||||
return Dimensions{w.ws_col, w.ws_row};
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user