anomalyco / anomalyco/opencode

Use unicode ellipsis (…) in remaining truncated interface text (follow-up to #45126)

Open
#47,234 0 comments 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Sep 4, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Problem

#45126 converted ASCII ... to unicode ellipsis (…) in TUI interface text, but the same truncation pattern remains in 5 more places that produce user-visible text: auto-generated session titles, retry message previews, search/ripgrep result previews, and the codemode tool catalog. Titles and previews rendered today show a mix of ... and … depending on where the text originated.

Remaining sites

  • packages/opencode/src/session/prompt.ts:249 — auto-generated session title truncation (substring(0, 97) + "...") — this is the source of the title the TUI displays
  • packages/session-ui/src/components/session-retry.tsx:34 — retry message preview (slice(0, 80) + "...")
  • packages/core/src/filesystem/search.ts:182 — search result line preview (slice(0, 2_000) + "...")
  • packages/core/src/ripgrep.ts:269 — ripgrep match preview (slice(0, 2_000) + "...")
  • packages/codemode/src/tool-runtime.ts:456 — tool catalog description truncation (slice(0, 119) + "...")

Note

packages/opencode/src/patch/index.ts:423 intentionally normalizes the ellipsis back to ... for the machine-readable patch format — that conversion is correct and left untouched. This change only affects human-facing truncations.

Proposed fix

Convert the five sites to the unicode ellipsis for consistent interface text, matching the style established in #45126.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.