mcp-browser/mcp_servers/screen
Claude4Ξlope 140bd2d71b Fix UTF-8 encoding issue in screen peek
- Read screen hardcopy output as binary first
- Decode with UTF-8 using 'replace' error handling
- Fallback to latin-1 encoding if needed
- Strip ANSI escape sequences from output
- Handles mixed encodings and binary data gracefully

This fixes crashes when screen sessions contain non-UTF-8 bytes
or terminal control sequences.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-27 23:20:53 +02:00
..
__init__.py Fix package installation and remove demo script 2025-06-27 16:29:17 +02:00
screen_server.py Fix UTF-8 encoding issue in screen peek 2025-06-27 23:20:53 +02:00