microsoft / microsoft/terminal
DEC double-height lines do not properly reset
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.17.11461.0
### Windows build number
10.0.19045.3086
### Other Software
_No response_
### Steps to reproduce
Create DEC double-height text via an echo command. (It can be tricky to echo the escape character.)
Clear screen, do a directory.
Watch as double-height line artifacts that shouldn't be there are there.
Not just once. Multiple double-height lines can keep reoccurring.
* Even issuing the ANSI reset ("0m") code fails to remove the artifacting behavior.
* Even clearing the screen multiple times fails to remove the artifacting behavior.



### Expected Behavior
The expected behavior is one the line is finished rendering, no double-height letters would ever appear again except if another line is issued with the escape code to turn that double-height letters on.
### Actual Behavior
The actual behavior is that after the line is finished rendering, double-height letters still keep appearing -- often many many many times -- even without another line issued with the escape code to turn double-height letters on.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Windows Terminal 1.17.11461.0 on Windows 10.0.19045.3086 using DEC double-height text, then clear the screen and run a directory listing. Done means double-height artifacts do not recur after the line finishes, ANSI reset, or repeated screen clears unless a later escape sequence enables them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100