Skip to content

Playground font is non-fixed-width for some unicode characters #589

Open
@RalfJung

Description

@RalfJung

I am putting the following code into playground:

fn main() {
    println!("0x00 │ ╾─────alloc777+0──────╼ 2a 00 00 00 00 00 00 00 │ ╾──────╼*.......");
    println!("0x10 │ 2a 00 00 00 00 00 00 00                         │ *.......");
}

Both for the code view and the resulting output, the vertical bars on the right are not properly aligned, even though we can see here in GitHub that in a fixed-width font, they should be aligned.

Also, the cursor (at least in Firefox) behaves really weird in that first line; the indicated position and the position where characters are inserted do not agree...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThe playground isn't doing what it was intended tohelp wantedNot immediately going to be prioritized — ask for mentoring instructions!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions