microsoft / microsoft/terminal

Wrap double-height text properly

Open
#15,681 9 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Output Help Wanted Issue-Task Product-Conhost
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

_No response_

### Windows build number

_No response_

### Other Software

_No response_

### Steps to reproduce

Create double-height text and then use it to write a line longer than the width of the current console window/pane

### Expected Behavior

that it would wrap into another double-height line

### Actual Behavior

It actually breaks the double-height line into two and ruins the effect, and then wraps the remainder twice as single height lines

![image](https://github.com/microsoft/terminal/assets/789591/93c6b66b-0857-4f94-aff8-12d975e7c0ac)

Perhaps the wrapped text of a "big" line can be buffered and if it matches the wrapped text of the next line and that line is also "big", then a new "big" line can be created with the wrapped text and inserted after?

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.

Research direction

No source file, test, or entry point is named. Reproduce the issue by creating double-height text and writing a line longer than the console width, then trace the wrapping behavior for double-height lines. Done means the overflow wraps into another double-height line without splitting the effect or producing duplicate single-height lines.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.