xieite ::term ::screen_size ()
Defined in header <xieite/io/term.hpp>
Returns the terminal size in row and columns represented as a
xieite ::pos {}
.Declaration
[[nodiscard ]]xieite ::pos screen_size ()noexcept ;
Example
Possible output:int main () {xieite ::term term ;auto [row ,col ] =term .screen_size ();std ::println (" ,{} {} "row ,col ); }
53 197