#include "window.hpp" #include auto Window::size() const noexcept -> Bounds { winsize window_size = {}; // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg) ioctl(0, TIOCGWINSZ, &window_size); return Bounds({ window_size.ws_col, window_size.ws_row }); }