Skip to content

Commit d2203f9

Browse files
asasinejonsequitur
authored andcommitted
Added foreground color reset
1 parent 98a251b commit d2203f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/RenderingPlayground/DirectoryTableView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public DirectoryTableView(DirectoryInfo directory)
4141

4242
Add(tableView);
4343

44-
Formatter.AddFormatter<DateTime>(d => $"{d:d} {ForegroundColorSpan.DarkGray()}{d:t}");
44+
Formatter.AddFormatter<DateTime>(d => $"{d:d} {ForegroundColorSpan.DarkGray()}{d:t}{ForegroundColorSpan.Reset()}");
4545
}
4646

4747
TextSpan Span(FormattableString formattableString)

0 commit comments

Comments
 (0)