Support improperly terminated sequences in escape_parse
For example, for "\e\e[31mHello", continue parsing instead of exitingescape mode at the second \e
StaticSaga 3 months ago fbb4d545 8cabcce9
··· 566 } 567 568 switch (c) { 0 0 0 569 case 'F': 570 x = 0; 571 // FALLTHRU
··· 566 } 567 568 switch (c) { 569 + // Got ESC in the middle of an escape sequence, start a new one 570 + case 0x1B: 571 + return; 572 case 'F': 573 x = 0; 574 // FALLTHRU