How can I find out the number of maximum rows and character columns in an open bash terminal window?
I know I can find out using the curses C library like this:
getmaxyx(stdscr, mrow, mcol);
I would like to associate the mrow and mrol bash variables to my bash session in the same way.