-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix colors getting lost on reflow (#17568)
The "copy the remaining attributes" loop assumes that it has full ownership over the rows that it copies. For that to be true, we have to of course make sure that the current write-cursor is at a fresh, new row in the first place. ## Validation Steps Performed * In a new pwsh tab with 120 colums: ``Write-Host -NoNewline "`e[36m$('a'*120)`e[m"; sleep 10`` * Resize the window wider * Color doesn't get lost
- Loading branch information
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters