microsoft / microsoft/terminal
Scroll up/down (SU/SD) don't copy wide glyph padding spaces
- 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
* pwsh
```pwsh
"`e[?1049h`e[Hbefore scroll`e[999C`e[2Dfoo`r`n`e[999C`e[2D✨✨"; sleep 1; "`e[S`e[Hafter scroll "; sleep 3; "`e[?1049l"
```
* bash
```sh
printf "\e[?1049h\e[Hbefore scroll\e[999C\e[2Dfoo\r\n\e[999C\e[2D✨✨"; sleep 1; printf "\e[S\e[Hafter scroll "; sleep 3; printf "\e[?1049l"
```
### Expected Behavior

### Actual Behavior

The fundamental problem is that `ROW::CopyFrom` doesn't clear to the end of the line (like CSI K).
Contributor guide
Assessment
This issue has not been assessed yet.