-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed render issue where writeline inside status caused corrupt output …
- Loading branch information
1 parent
35ce60b
commit 71a5d83
Showing
4 changed files
with
41 additions
and
3 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
4 changes: 2 additions & 2 deletions
4
test/Spectre.Console.Tests/Expectations/Live/Status/Render.Output.verified.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[?25l | ||
[38;5;11m*[0m foo | ||
|
||
[2A | ||
[2K[1A[2K[1A | ||
[38;5;11m-[0m bar | ||
|
||
[2A | ||
[2K[1A[2K[1A | ||
[38;5;11m*[0m baz | ||
|
||
[2K[1A[2K[1A[2K[?25h |
12 changes: 12 additions & 0 deletions
12
test/Spectre.Console.Tests/Expectations/Live/Status/WriteLineOverflow.Output.verified.txt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[?25l | ||
[38;5;11m⣷[0m long text that should not interfere writeline text | ||
|
||
[2K[1A[2K[1A[38;5;15mxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[0m | ||
[38;5;15mxxxxxxxxxx[0m | ||
|
||
[38;5;11m⣷[0m long text that should not interfere writeline text | ||
|
||
[2K[1A[2K[1A | ||
[38;5;11m⣷[0m long text that should not interfere writeline text | ||
|
||
[2K[1A[2K[1A[2K[?25h |
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