Add Handling for CSI Sequences and Partial Resets
This release improves how ANSI control sequences are processed, making it easier for you to work with terminal output directly.
Improvements
- Unknown CSI (Control Sequence Introducer) sequences are now safely ignored and removed from the output.
- This allows you to use more terminal output directly in the extension without requiring pre-filtering.
- Support for partial color reset sequences has been added and is now handled correctly.
Important Notes
The extension intentionally does not implement full terminal emulation in order to maintain high performance.
If your output includes complex terminal behavior (for example, cursor movements or dynamic updates), you should preprocess it before use.
We recommend using erbsland-py-ansi-convert for this purpose.
This ensures that the output is normalized and compatible with the extension.
Summary
With these changes, you can rely on cleaner and more predictable handling of ANSI sequences, while still keeping full control over performance and preprocessing when needed.