What
Several changes affect how Claude Code draws its interface in the terminal:
- Clearing rows is done directly instead of by writing filler lines.
- Unchanged rows at the top of the screen are reused rather than redrawn.
- Line wrapping and search results are kept in memory so they are not worked out again each time.
- Mods, plugins that draw in Claude Code's interface, have a new way to wait for drawing, and a message now names calls made outside a
ui.renderhook that is drawing.
Why
Redrawing less of the screen means less work each time it updates, which can matter for flicker and processor use in long sessions.
ui.render
Create a mod modified, high confidence
* **[`ui.render`](https://code.claude.com/docs/en/plugins/mods/interface#pick-where-to-draw)** runs each time Claude Code draws the spinner. It adds the count after the spinner's word.see the edit
ui.render
Draw in the interface with a mod modified, high confidence
A mod can draw its own interface in Claude Code and change parts of the interface Claude Code already draws. Each place a mod can draw is called a [render site](https://code.claude.com/docs/en/plugins/mods/reference.md#render-sites), such …see the edit
ui.render
Mods overview modified, high confidence
* **The [`ui.render`](https://code.claude.com/docs/en/plugins/mods/interface#pick-where-to-draw) hook** runs each time Claude Code draws the spinner. It keeps Claude Code's own spinner and adds the count after the word.see the edit
ui.render
Mods reference modified, high confidence
A render site is an extension point in Claude Code's interface. Each row is a value of `e.component` in a `ui.render` hook, with the apps that render it. For a site's `e.props`, [search the type declarations](#look-up). For the VS Code ext…see the edit
ui.render
Test a mod modified, high confidence
* **Register a `ui.render` stub to choose what `next(e)` returns.** When your [`ui.render`](https://code.claude.com/docs/en/plugins/mods/interface#pick-where-to-draw) hook returns `next(e)`, for example to draw nothing while Claude is idle…see the edit
ui.render
Troubleshoot a mod modified, high confidence
The line names the [render site](https://code.claude.com/docs/en/plugins/mods/reference.md#render-sites), then says `threw while drawn:` and the error, as in `first-mod: ui.render (ToolUse) threw while drawn: <error>; the engine drew its o…see the edit
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agrees
ui.render on Create a mod
Anthropic's release notes agree
Added drawing for the rows a mod names: the terminal raises ui.render at the row's name and shows one dim line of its text where no mod…