Skip to content

[Bug] Switching from compact to verbose mode via Ctrl+O freezes the CLI in long conversations #3899

@chiga0

Description

@chiga0

Describe the bug

In a long-running conversation, pressing Ctrl+O to toggle from compact mode to the detailed/transcript view causes the CLI to hang (UI becomes unresponsive).

Steps to reproduce

  1. Start a qwen session and have a long conversation (many turns / large transcript).
  2. The UI is currently in compact mode.
  3. Press Ctrl+O to switch to the detailed (transcript) view.
  4. The terminal freezes — input is no longer responsive.

Expected behavior

Ctrl+O should toggle between compact and detailed views smoothly regardless of conversation length.

Actual behavior

The CLI becomes unresponsive after the toggle. It is unclear whether it eventually recovers or is fully stuck — feels like a freeze.

Likely cause (guess)

Rendering the full transcript in one go for a long history may be doing too much synchronous work (large Ink re-render).

Environment

  • qwen-code version:
  • Node.js version:
  • OS:

Related

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions