Skip to content

Commit

Permalink
Panel should render markup
Browse files Browse the repository at this point in the history
  • Loading branch information
DanteDeRuwe committed Nov 19, 2024
1 parent 14bacdc commit 42f7a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dotty.CLI/Helpers/Output.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static void Panel(IRenderable renderable, bool expand = true) =>
AnsiConsole.Write(new Panel(renderable) { Border = BoxBorder.Rounded, Expand = expand });

public static void Panel(string message, bool expand = true) =>
Panel(new Text(message), expand);
Panel(new Markup(message), expand);

public static void Error(string message) =>
ErrorConsole.MarkupLine($":police_car_light: [bold red]Error:[/] {message}");
Expand Down

0 comments on commit 42f7a48

Please sign in to comment.