mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 23:20:46 +00:00
Replace ANSI escape sequence-based text processing with xterm.js's Decoration API for keyword highlighting. This "lazy" approach only processes visible viewport rows and uses debounced refresh, ensuring zero impact on scrolling performance. Key changes: - New KeywordHighlighter class using IDecoration/IMarker APIs - Decorations refresh on scroll, write, and resize events - Skip highlighting in alternate buffer (vim, htop, etc.) - Add configurable debounce delay (200ms default) - Remove inline ANSI color injection from data stream Co-Authored-By: Claude <noreply@anthropic.com>