Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL=1

Set to 1, fullscreen draws each message, not just the ones in view.

Think of it like

It is like you lay out each page of a book. Not just the ones you see.

Example

Emma scrolled up and saw empty space where her old messages were. She sets this, and every message shows.

Why it matters

Blank gaps hide the chat you want to read. This trades a little speed for a full view.

Definition

CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL set to 1 makes fullscreen mode draw each message in the chat. Most of the time it draws only the ones on screen, to stay fast. Use this if you scroll and see blank gaps where messages should be.

Example code

bash
export CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL=1
claude
Fix blank gaps when you scroll.

Common mistake

Turning it on with no gaps to fix. Long chats then draw more slowly.

Key takeaways

  1. 1
    Draws all messages. When set.
  2. 2
    Fixes blank gaps. While scrolling.
  3. 3
    A bit slower. In long chats.