 between states such as <code>ES_0x1b</code> (Escape), <code>ES_0x5b</code> (CSI), and other custom states for handling sequences like palette selection.</li>
<li><b>Color Handling</b>: The decoder parses color codes in the format <code>\e[attr;fg;bgm</code> where:<ul>
<li><code>attr</code>: Text attributes (e.g., <code>0=Reset</code>, <code>1=Bold</code>).</li>
<li><code>fg</code>: Foreground color (e.g., <code>37=White</code>).</li>
<li><code>bg</code>: Background color (e.g., <code>44=Blue</code>).</li>
