[BUG] Terminal colors stop rendering on VSCode after macOS sleep/wake

Resolved 💬 3 comments Opened Mar 10, 2026 by nabenabe0928 Closed Apr 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description

After resuming from macOS sleep mode, Claude Code in VSCode's integrated terminal stops displaying colors. The output becomes unformatted plain text, making responses difficult to read and distinguish from prompts/system messages.

Workaround

Restarting the Claude Code session in a new terminal restores colors.

What Should Happen?

Expected Behavior

Terminal colors and formatting should continue to render correctly after waking from sleep.

Actual Behavior

After waking from sleep, Claude Code output loses color/ANSI formatting. The response text becomes plain and unformatted, making it very hard to parse visually.

Error Messages/Logs

Steps to Reproduce

Steps to Reproduce

  1. Open VSCode on macOS
  2. Launch Claude Code in the integrated terminal
  3. Use Claude Code normally (colors render correctly)
  4. Put the Mac to sleep (close lid or Apple menu > Sleep)
  5. Wake the Mac and return to VSCode
  6. Continue using Claude Code in the same terminal session

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

v2.1.72

Platform

Google Vertex AI

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

Similar, but different issues

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗