Skip to content

(inline app?) Combining unicode emojis (e.g. hammer and pick emoji) causes re-paint offset issues #6355

@simonpercivall

Description

@simonpercivall

This may be related to the other issues with multi-character unicode. But I feel it's a bit different. It's not (just) about messed up width.

This is tested against Textual 7.4.0.

The bug

A simple inline app with an OptionList. The Options contain the text "⚒️" (or any combined unicode, "simple" emoji works fine).

This causes the whole app (I'm guessing) to re-render, but offset one or more lines each time. It re-renders on mouse movement, for instance (I'm guessing that's standard).

In full-screen the issue isn't noticeable (i.e. could be there, but it doesn't cause the title to "grow".

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions