Skip to content

Update Unicode character width determination to support newer versions of Unicode #2333

@meonkeys

Description

@meonkeys

Emoji characters muck up the automatic terminal width detection and cause lines to wrap unexpectedly. Example:

2020-10-17T12-13-20-screenshot

Notice how the final digit in the urgency value appears on the next line.

This screenshot is from taskwarrior v2.5.1 on Ubuntu 20.04.1 64-bit LTS desktop.

Terminal details:

$ gnome-terminal --version
# GNOME Terminal 3.36.2 using VTE 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD

I think the glyphs are from the fonts-noto-color-emoji package.

Metadata

Metadata

Assignees

Labels

eval:reproducedtriagedIssue has been assessed by the maintainers.type:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions