[BUG] Terminal UI flickering, overlapping output, and unstable auto-scrolling when using Claude Code in Android Studio

Resolved 💬 8 comments Opened Dec 31, 2025 by amit-flutter Closed Feb 27, 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?

When using Claude Code inside the Android Studio integrated terminal, there are multiple terminal rendering issues that make it difficult to work effectively:

  1. Continuous UI flickering and overlapping output

• Old terminal output repeatedly redraws and overlaps with new output
• The terminal keeps flickering while Claude is generating or modifying code

  1. Unstable and aggressive auto-scrolling behavior

• Scrolling slightly upward causes the terminal to jump too far up
• Typing a new command forces the terminal to scroll back to the very top
• Reviewing previous output during long sessions becomes very difficult

These issues together significantly impact usability during longer Claude Code sessions.

What Should Happen?

• Terminal output should render smoothly and consistently without flickering
• Old content should not redraw or overlap new output
• Manual scrolling should be stable and predictable
• Typing new commands should not forcibly reset the scroll position

Error Messages/Logs

No explicit error messages are shown.
This appears to be a terminal rendering / UI refresh issue.

Steps to Reproduce

  1. Open Android Studio
  2. Open the integrated Terminal
  3. Run Claude Code (e.g. claude)
  4. Start a task that generates or edits multiple files
  5. Observe:

• Terminal flickering
• Output overlapping or re-rendering repeatedly

  1. Scroll slightly upward during output
  2. Type a new command
  3. Observe:

• Terminal jumps excessively
• Scroll resets to the top automatically

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.76 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This issue appears to be specific to Android Studio’s terminal and may be related to how ANSI output, redraws, or auto-scroll are handled during frequent terminal updates. Android Studio is a common environment for mobile developers, so this impacts real-world usage significantly

View original on GitHub ↗

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