Skip to content

Ctrl+O pager: output truncated with ... and closes immediately while typing #4482

Description

@SparkofSpike

Description

Two related Ctrl+O pager bugs in v0.9.0.

Bug A — output truncated: Turn detail ends with ... mid-sentence.
Pressing c to copy confirms the data itself is truncated, not just
the rendered view — the raw pager body is incomplete.

Bug B — pager flashes and closes: When the composer has text (not
empty), pressing Ctrl+O opens the pager briefly then closes it instantly.
Only works when composer is empty.

Steps to reproduce

Bug A:

  1. Ensure composer is empty (see Bug B)
  2. Open any turn detail with Ctrl+O
  3. Scroll to bottom with j/k — content ends with ...
  4. Press c to copy → paste elsewhere → confirms data is truncated

Bug B:

  1. Type anything in the composer
  2. Press Ctrl+O
  3. Pager flashes briefly then closes immediately

Expected behavior

  • Pager shows complete turn details without truncation
  • Ctrl+O opens and stays open regardless of composer state

Actual behavior

  • Final result section is cut off with ..., raw data is incomplete
  • Pager rejects Ctrl+O when input is not empty

Impact

Happens on every Ctrl+O open. Blocks reviewing full turn details.

Environment

  • OS: Windows 11
  • codewhale version: 0.9.0 (d167c07)
  • Install method: npm
  • codewhale doctor summary: Provider: deepseek, Model: deepseek-v4-pro, Terminal: legacy Windows console host (low_motion + bracketed_paste=false)
  • Model/provider: deepseek-v4-pro / DeepSeek
  • Terminal app: Windows Terminal
  • Shell: PowerShell

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreliabilityReliability, flaky behavior, retries, fallbacks, and robustnesstuiTerminal UI behavior, rendering, or interactionuxUser experience, interaction, or presentation polishv0.9.1Targeting v0.9.1

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions