What: Improved parsing of terminal color codes and escape sequences
Details:
- Proper handling of 256-color codes (
ESC[38;5;Nm) - Proper handling of RGB color codes (
ESC[38;2;R;G;Bm) - Fixes rendering bugs with complex color sequences
- More accurate terminal width calculations
- Evidence:
Km9()at line 76407,Em9()at line 76423 in pretty-v2.0.41.js (different code at same lines in v2.0.37)