Commit 4efb239f authored by shrabbit's avatar shrabbit
Browse files

feat(AllColor): 输出颜色时使用整行空格填充控制台宽度

parent abbc870e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@ public class AllColor : IPlayground
                Mode.Lab => LabToRgb(LabSample(i, j, k, cpc)),
                _ => throw new ArgumentOutOfRangeException()
            };
            AnsiConsole.Write(new Text(" ", new Style(null, new Color(r, g, b))));
            AnsiConsole.Write(new Text(new string(' ', AnsiConsole.Profile.Width), new Style(null, new Color(r, g, b))));
        }
        await Task.CompletedTask;
    }