Todd Mercer

Fix Codex Astra Sparkles Blocking Terminal Text Selection
If Codex starts drawing stars or sparkles around the composer when GPT-6 Astra is selected and terminal text selection stops holding, set whimsy = false in the [tui] section of your active Codex config.toml, fully quit Codex, and start a fresh session. This is the narrow setting for decorative effects such as Astra composer stars. It preserves other terminal UI animation unless you disable that separately.
Use this fix only when the symptom follows the decorative Astra effect. Open Codex reports also describe the input cursor jumping while those stars are active. Those reports document repeated symptoms and one reporter's working configuration change; they do not establish independent reproduction, a confirmed rendering root cause, or a released upstream repair.
Confirm the sparkle-specific signature
Before changing configuration, separate this problem from ordinary terminal selection behavior.
The sparkle-specific signature is:
GPT-6 Astra is selected in the Codex terminal UI.
Decorative stars or sparkles animate around the composer.
A mouse drag briefly selects text, then the selection collapses or changes while the pointer is still held.
The input cursor may also jump while you are typing or moving within the composer.
Selecting another model makes the effect and the selection problem disappear, while returning to Astra reproduces both.
Issue 44398 reported this sequence with Codex CLI 0.154.0 on macOS 26.6.2 in Kitty 0.48.2. Issues 44444 and 44561 independently describe cursor movement or unwanted stars around the Astra composer. Different terminals or Codex versions may have different behavior, so record yours rather than assuming every selection failure has the same cause.
If text selection fails outside Codex, fails with every model, or continues when no decorative effect is visible, stop here. Test the terminal itself, its mouse bindings, multiplexer, and clipboard behavior. The whimsy setting is not a general terminal repair.
1. Record the current state
Capture the smallest useful environment record before editing:
Also note the terminal application, operating-system version, selected model, and whether a multiplexer such as tmux or Zellij is active. Do not post your entire configuration. It can contain private MCP endpoints, environment-variable names, project paths, and other operational details.
Find the active Codex home. The default user configuration is ~/.codex/config.toml; an explicit CODEX_HOME changes that location. Make a sibling backup of the file before editing it.
2. Disable only the decorative effect
Open the active config.toml. If it already contains a [tui] table, add the key inside that table:
Do not create a second [tui] table elsewhere in the same file. TOML parsers reject duplicate tables, which can turn one visual problem into a configuration startup failure.
The current Codex configuration schema describes tui.whimsy as the switch for decorative effects such as Astra composer stars and says it defaults to true. The schema also says those effects require animations. That makes whimsy = false the narrow first change: it removes the decorative layer without disabling all terminal UI animation.
Do not change the model, approval policy, sandbox policy, MCP servers, or provider credentials as part of this repair. None of those settings is needed to test whether the decorative effect owns the symptom.
3. Restart and verify
Fully exit the current Codex process and start a new one. An already-running terminal UI may retain state initialized before the configuration edit.
Select GPT-6 Astra and run three checks:
The stars or sparkles no longer appear around the composer.
A mouse drag across several lines remains selected until you release it.
The composer cursor stays at the position you choose while you pause and while you type.
Then repeat one ordinary Codex interaction to make sure input, scrolling, and nondecorative status behavior still work. Success is not merely that the stars are gone. Success is that selection and cursor position are stable in a fresh Astra session without unrelated configuration changes.
If you want the effect back, restore the backup, set whimsy = true, or remove the explicit key to return to the current default.
If whimsy = false does not fix it
Avoid accumulating speculative changes. Check these boundaries in order:
Check | What it tells you | Safe next move |
|---|---|---|
Stars still appear | Codex may be reading another configuration file, or the edit did not parse | Confirm the active Codex home and look for a duplicate |
Stars disappear but selection still fails | The decorative effect was present but may not own the selection failure | Test the same drag in the terminal outside Codex and without a multiplexer |
Only the input cursor jumps | The composer symptom may differ from mouse selection | Record an exact keystroke sequence and terminal details |
Every animation seems implicated | The problem may be broader than whimsy | Temporarily test |
Another model behaves the same | The failure is not Astra-specific | Restore the narrow change and investigate terminal or version behavior |
The broader diagnostic looks like this:
Use it only as a temporary isolation test. Disabling all animations can hide more UI behavior than the reported workaround requires. If it changes nothing, restore the original animation setting instead of leaving an unexplained difference in place.
When the narrow setting does not work, prepare a redacted upstream report with:
codex --versionoutput;operating system and terminal versions;
whether tmux, Zellij, or another multiplexer is active;
the selected model;
the exact selection or cursor reproduction steps;
whether
whimsy = falseremoved the stars;whether switching models changed the symptom; and
a short recording with private prompts, paths, and account details removed.
That evidence helps distinguish a decorative redraw problem from terminal mouse handling, cursor rendering, or configuration precedence.
Common wrong turns
Do not:
disable every TUI animation before testing the narrower key;
change models permanently and call the underlying issue fixed;
delete
config.tomlto return to defaults;paste a complete private configuration into a public issue;
change terminal mouse protocols without proving the symptom exists outside Codex;
treat an open issue comment as a released Codex fix; or
claim a redraw interval or renderer bug as the root cause before maintainers confirm it.
The durable distinction is simple: the current schema documents what whimsy controls, while the issue threads document observed symptoms and user-reported results. Neither source currently proves the internal cause.
Track the upstream change without widening GitHub access
Once local input is stable, you may want an agent to monitor the three open reports and the configuration schema. Keep that job read-only. It needs current issue state, labels, comments, and a bounded schema-file read. It does not need permission to comment, close issues, modify labels, push code, or edit your repository.
With Aident Loadout, connect the intended GitHub account, inspect the current issue-search or issue-read Action, and preflight a request limited to openai/codex and issues 44398, 44444, and 44561. A useful review prompt is:
Follow the Aident Loadout setup guide and stop after a reviewed read-only preflight if monitoring is all you need. How to Use Aident Loadout covers the complete discovery and preflight loop. The Codex model-at-capacity guide helps when the model itself is unavailable, and the Codex usage-spike guide keeps a separate resource symptom from being misdiagnosed as this TUI problem.
Verification checklist
Before closing the repair, confirm:
Did the symptom occur only while the Astra composer effect was active?
Did you edit the active
config.tomland preserve a backup?Is there only one
[tui]table?Did you set
whimsy = falsewithout changing unrelated policy or credentials?Did you restart Codex completely?
Are both mouse selection and composer cursor position stable?
If the fix failed, did you restore speculative diagnostic changes and record a minimal reproduction?
Sources and refresh trigger
Codex configuration schema at reviewed commit 02a8f03, documenting
tui.whimsy, its default, Astra composer stars, and the animation dependency.Codex issue 44398, reporting terminal text-selection instability while Astra sparkles are active and the
whimsy = falseresult.Codex issue 44444, reporting cursor movement in the Astra composer while the decorative effect is active.
Codex issue 44561, requesting a default change for the Astra composer effect.
These sources were reviewed September 11, 2026. All three issues were open at review time. Refresh this guide when Codex documents the setting in its public configuration reference, changes either TUI key, closes the reports with a maintainer-confirmed cause, or ships a release that changes the default or rendering behavior.
About the author

Todd Mercer
Todd Mercer is an editorial pen name used by Aident's developer-tools team. This column covers agent CLI configuration, MCP connectivity, authentication, permissions, and troubleshooting. Guides focus on observable symptoms, documented fixes, reproducible checks where available, and the limits of each workaround.



The one tool
for every tool
your agent needs.
Give any AI agent real capabilities in seconds. Connect 27,000+ tools once, skip the setup headache, and let your agents execute.



