# CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL

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

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL=1

## Think of it like

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

## 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

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

## Example code

```bash
export CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL=1
claude
```

Fix blank gaps when you scroll.

## Why it matters

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

## Common mistake

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

## Three principles

- **Draws all messages.** When set.
- **Fixes blank gaps.** While scrolling.
- **A bit slower.** In long chats.

## Related terms

- [CLAUDE_CODE_NO_FLICKER](https://learn.benibix.com/term/ai/claude-code-no-flicker-variable)
- [CLAUDE_CODE_SCROLL_SPEED](https://learn.benibix.com/term/ai/claude-code-scroll-speed-variable)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-virtual-scroll-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
