get term_{width,height} from getmax{x,y}(stdscr)