win32_textmode() since they are used to determine how the screen buffer needs to be resized before changing the window size.