# tui Setting

> The key that picks the classic or the full-screen view.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** "tui" key, fullscreen renderer

## Think of it like

It is like choosing to watch a film on a big screen instead of a small one. Same film, smoother view.

## Definition

The tui setting picks how Claude Code draws itself in the terminal. fullscreen takes over the whole window, so the screen does not flicker and long chats scroll smoothly. default is the classic view that prints into your normal terminal. Left unset, Claude Code picks for you. Running /tui writes this key.

## Example

Jack's screen flickered while Claude wrote long answers. He sets tui to fullscreen, and the flicker stops.

## Example code

```json
{
  "tui": "fullscreen"
}
```

Use the full-screen view, with no flicker.

## Why it matters

The view decides how smooth the screen feels and how you scroll back through a chat.

## Common mistake

Setting it and seeing no change. A variable that stops the flicker can win over it for one session.

## Three principles

- **Two views.** default or fullscreen.
- **Fullscreen is smooth.** No flicker.
- **/tui writes it.** For you.

## Related terms

- [/tui Command](https://learn.benibix.com/term/ai/tui-command)
- [CLAUDE_CODE_NO_FLICKER](https://learn.benibix.com/term/ai/claude-code-no-flicker-variable)
- [CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN](https://learn.benibix.com/term/ai/claude-code-disable-alternate-screen-variable)

## Told apart from

- [tui vs viewMode](https://learn.benibix.com/compare/tui-setting-vs-view-mode-setting): People think tui and viewMode both set how much you see. tui picks how Claude Code draws the screen: the classic view, or a full-screen one with no flicker. viewMode picks how much of each turn shows: everything, the usual amount, or just the answer. Focus view needs the full-screen tui.

---

Source: https://learn.benibix.com/term/ai/tui-setting
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-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
