Patch from RDB: the ESC[8...t resize sequence and the ESC[18t size