request_resize() needs to call term_size() to tell the terminal emulator