﻿---
title: "闪烁星星和转圈：tui.animations 写成 false 并新开会话"
summary: "默认 true。关掉欢迎动画、微光和 spinner。已有 [tui] 表就只加键，不要再写一份同名表。改完必须退出重开。"
category: config
level: starter
surfaces: [cli]
tags: ["TUI", "animations", "无障碍"]
canonical: /tips/tui-animations-off/
---

# 闪烁星星和转圈：tui.animations 写成 false 并新开会话

默认 true。关掉欢迎动画、微光和 spinner。已有 [tui] 表就只加键，不要再写一份同名表。改完必须退出重开。

终端里欢迎屏闪星星、状态行一直转圈，或空闲时 `codex-main` 还占着可观 CPU，先关动画，不要先换终端模拟器：

```toml
[tui]
animations = false
```

官方配置参考把这项标成 welcome / shimmer / spinner 总开关，默认 `true`。读屏用户也靠它做减少动态。文件里如果已经有 `[tui]`，只在同一张表里加 `animations`，不要再贴第二份 `[tui]`，重复表会让 Codex 拒掉配置。

改完必须完全退出当前 CLI 再开新会话，已经跑着的 TUI 不会热更新。关动画后标签标题还在跳，再把标题里的 spinner 拿掉：

```toml
[tui]
animations = false
terminal_title = ["project"]
```

`tui.notifications` 是另一条通道，关动画不会关 Toast。

## 来源

- [OpenAI · Configuration reference](https://developers.openai.com/codex/config-reference)
- [@cooperx86 · 关掉闪烁星星](https://x.com/cooperx86/status/2098051356921586076)
