terminal
terminal copied to clipboard
Optimize DCS performance with batch processing
This bumps performance of sixels by around 20%. More importantly, this bumps performance of any future optimized DCS code (e.g. tmux control mode) by practically infinite%, because we can pass through payloads unmodified.
Validation Steps Performed
- Sixels seem to work? ✅
This PR is a lot spicier than #19639. I think I did it correctly, but it's probably better to wait until after we released the next WT version.