Skip to content

[UX] oclite: Prompt re-renders bleed into streaming response text #64

@randomm

Description

@randomm

Problem

During streaming, the prompt project-manager ❯ /start is re-rendered multiple times, interleaving with the response text:

project-manager ❯ /start          ave a complete picture of the project.
...
project-manager ❯ /start---

The prompt overwrites parts of the response and appears corrupted (/start---).

Root Cause

The main input loop or prompt rendering is still active during streaming, causing cursor repositioning and text overwriting.

Expected

During streaming, the prompt should not re-render. Only the response text should be written to stdout.

Files

  • packages/opencode/src/cli/lite/index.ts — prompt rendering during streaming
  • packages/opencode/src/cli/lite/bottombar.tsrenderPrompt()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions