Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/Console/Interactive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,9 @@ async Task RenderAsync(string json)
AnsiConsole.Write(new Panel(Markup.FromInterpolated($":robot: {text}"))
{
Border = BoxBorder.None,
Width = Math.Min(100, AnsiConsole.Profile.Width),
Padding = new(0, 0, 0, 0)
Expand = false,
Padding = new(0, 0, 0, 0),
Width = Math.Min(80, AnsiConsole.Profile.Width),
});
if (message is Client.InteractiveMessage interactive && interactive.Interactive.Action is { } node)
{
Expand Down
2 changes: 2 additions & 0 deletions src/Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;

// Some users reported not getting emoji on Windows, so we force UTF-8 encoding.
// This not great, but I couldn't find a better way to do it.
Expand All @@ -21,6 +22,7 @@
}

var host = Host.CreateApplicationBuilder(args);
host.Logging.ClearProviders();

host.Configuration.AddInMemoryCollection(new Dictionary<string, string?>()
{
Expand Down