Skip to content

fix: emoji don't layout correctly #3

Open

Description

@eseidel
image

I suspect the solution is to use something like package:characters to measure the strings:
https://pub.dev/packages/characters

Activity

  1. eseidel commented on Nov 22, 2023

    @eseidel
    Author
  2. defano commented on Apr 17, 2025

    @defano

    I ran into the same issue. It's hacky, but I found that appending a zero-width joiner to the end of a problematic character seems to fix the formatting issue, i.e., ✅\u200D.

    I also found that some terminals render these tables correctly. Either way, this hack seems to work on all the terminals I tried.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions