Skip to content

只要内容中含有 ℃ ,整个实时布局(AnsiConsole.Live)就会错乱 #2123

Description

@bicijinlian

Information

  • OS: Windows 11
  • Version: last
  • Terminal: cmd

Describe the bug
只要内容中含有 ℃ ,整个实时布局(AnsiConsole.Live)就会错乱

Screenshots

Image Image

`using Spectre.Console;

AnsiConsole.Live(new Text("ini")).Start(ctx =>
{
var items = "1 2 3 a b c 中国 ℃ 4 d ".Split(" ");

string show = string.Empty;

foreach (var item in items)
{
    show += item;
    var panel = new Panel(show).AsciiBorder().Expand();

    ctx.UpdateTarget(panel);

    Thread.Sleep(1000);
}

});`

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageSomeone needs to take a look at this

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions