mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-12-02 08:12:59 +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
|
#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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user