Add word wrapping to the assistant response text box

Open Beginner friendly
#62,046 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Start by locating the OpenCode interface component that displays assistant responses and checking how it renders text within the available terminal width. Add word wrapping at word boundaries without horizontal scrolling, then verify that long responses wrap correctly in narrow terminal windows.

Written by the indexing model from the issue text.

Description

triaging

Please add automatic word wrapping to the text box displaying the assistant's responses in the OpenCode interface.

Currently, long lines of text can extend beyond the visible width of the response area instead of wrapping onto subsequent lines. This makes responses difficult to read, particularly when using narrower terminal windows.

The response text should automatically wrap at word boundaries according to the available display width, without requiring horizontal scrolling. This would significantly improve readability and the overall user experience.

Dominant language
TypeScript
Stars
224k
Forks
30k
Avg merge
6h 16m
Merged PRs (30d)
507

Getting set up

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.

More from anomalyco/opencode

All issues in anomalyco/opencode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.