mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-05 06:59:42 +02:00
Disable WebGL renderer during large buffer loads (>32KB) and fall back to canvas, which handles bulk ANSI writes without synchronous GPU ReadPixels calls. Re-enable WebGL after the buffer load completes so live terminal streaming still benefits from GPU acceleration. Also reduce chunk size from 128KB to 32KB and use chunked writes for cached buffer restores instead of synchronous terminal.write(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>