animation flag is coupled with token streaming display #9366

Open
opened 2026-02-16 18:12:17 -05:00 by yindo · 1 comment
Owner

Originally created by @contentnation on GitHub (Feb 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Issue:
When disabling animations in the console UI (because it consume high CPU percentage), the streaming output is no longer shown. only when I press a key or something.
With animations turned on, this works fine.
So both seem to be coupled in wrong ways. Let my CPU alone, but show me the stream progress.
Expected behavor:
no cpu usage while waiting for tokens with animations off but showing up the tokens instantly

Plugins

none

OpenCode version

current git as of 2016-02-15

Steps to reproduce

turn on animations => high CPU usage when waiting for LLM but instant token display
turn off animation => no CPU (good) but streaming tokens is off

Screenshot and/or share link

Operating System

Linux (Gentoo)

Terminal

konsole (KDE), but systemic issue

Originally created by @contentnation on GitHub (Feb 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Issue: When disabling animations in the console UI (because it consume high CPU percentage), the streaming output is no longer shown. only when I press a key or something. With animations turned on, this works fine. So both seem to be coupled in wrong ways. Let my CPU alone, but show me the stream progress. Expected behavor: no cpu usage while waiting for tokens with animations off but showing up the tokens instantly ### Plugins none ### OpenCode version current git as of 2016-02-15 ### Steps to reproduce turn on animations => high CPU usage when waiting for LLM but instant token display turn off animation => no CPU (good) but streaming tokens is off ### Screenshot and/or share link ### Operating System Linux (Gentoo) ### Terminal konsole (KDE), but systemic issue
yindo added the opentuibugperf labels 2026-02-16 18:12:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 14, 2026):

This issue appears to be related to #6172 (High CPU usage during LLM streaming in long sessions), which discusses the underlying performance problem with the animation/streaming coupling in the text buffer rendering.

However, your issue highlights a specific functional problem: disabling animations completely disables token streaming display. This is a distinct symptom that may warrant separate investigation from the pure performance issues in #6172.

Both issues likely stem from the same architectural coupling between animations and streaming display in OpenTUI's text buffer renderer.

@github-actions[bot] commented on GitHub (Feb 14, 2026): This issue appears to be related to #6172 (High CPU usage during LLM streaming in long sessions), which discusses the underlying performance problem with the animation/streaming coupling in the text buffer rendering. However, your issue highlights a specific functional problem: disabling animations completely disables token streaming display. This is a distinct symptom that may warrant separate investigation from the pure performance issues in #6172. Both issues likely stem from the same architectural coupling between animations and streaming display in OpenTUI's text buffer renderer.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9366