Subject: Re: bug#53808: 29.0.50; ansi colorization process could block indefinetly on stray ESC char

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 05 Feb 2022 22:56:23 +0100

Ioannis Kappas <[email-masked]> writes:

> A solution (open to discussion) could be to identify a partial SGR
> fragment based on its actual specification rather than only starting
> with the ESC char:

Hm...  what happens if the ESC arrives in one chunk and then the rest of
the SGR sequence in the next chunk?

(Miha has done work in this area recently; added to the CCs.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no